home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_mc.idb / usr / freeware / lib / mc / mc.hlp.z / mc.hlp
Encoding:
Text File  |  1998-10-28  |  115.0 KB  |  3,193 lines

  1. [Contents]
  2. Topics:
  3.  
  4.    DESCRIPTION DESCRIPTION
  5.    OPTIONS OPTIONS
  6.    Overview Overview
  7.    Mouse Support Mouse Support
  8.  
  9.    Keys Keys
  10.      Miscellaneous Keys Miscellaneous Keys
  11.      Directory Panels Directory Panels
  12.      Shell Command Line Shell Command Line
  13.      General Movement Keys General Movement Keys
  14.      Input Line Keys Input Line Keys
  15.  
  16.    Menu Bar Menu Bar
  17.      Left and Right Menus Left and Right Menus
  18.        Listing Mode... Listing Mode...
  19.        Sort Order... Sort Order...
  20.        Filter... Filter...
  21.        Reread Reread
  22.      File Menu File Menu
  23.        Quick cd Quick cd
  24.      Command Menu Command Menu
  25.        Directory Tree Directory Tree
  26.        Find File Find File
  27.        External panelize External panelize
  28.        Hotlist Hotlist
  29.        Extension File Edit Extension File Edit
  30.        Background jobs Background jobs
  31.        Menu File Edit Menu File Edit
  32.      Options Menu Options Menu
  33.        Configuration Configuration
  34.        Display bits Display bits
  35.        Confirmation Confirmation
  36.        Learn keys Learn keys
  37.        Virtual FS Virtual FS
  38.        Layout Layout
  39.        Save Setup Save Setup
  40.  
  41.    Executing operating system commands Executing operating system commands
  42.      The cd internal command The cd internal command
  43.      Macro Substitution Macro Substitution
  44.      The subshell support The subshell support
  45.      Controlling Midnight Commander Controlling Midnight Commander
  46.    Chmod Chmod
  47.    Chown Chown
  48.    File Operations File Operations
  49.    Mask Copy/Rename Mask Copy/Rename
  50.    Internal File Viewer Internal File Viewer
  51.    Internal File Editor Internal File Editor
  52.    Completion Completion
  53.    Virtual File System Virtual File System
  54.      FTP File System FTP File System
  55.      Tar File System Tar File System
  56.      Network File System Network File System
  57.      Undelete File System Undelete File System
  58.    Colors Colors
  59.    Special Settings Special Settings
  60.    Terminal databases Terminal databases
  61.  
  62.    FILES FILES
  63.    AVAILABILITY AVAILABILITY
  64.    SEE ALSO SEE ALSO
  65.    AUTHORS AUTHORS
  66.    BUGS BUGS
  67.    License License
  68.    QueryBox QueryBox
  69.    How to use help How to use help
  70. [DESCRIPTION]
  71. DESCRIPTION
  72.  
  73. The Midnight Commander is a directory browser/file manager
  74. for Unix-like operating systems.[OPTIONS]
  75. OPTIONS
  76.  
  77.  
  78. "-a"  Disables the usage of graphic characters for line
  79. drawing.
  80.  
  81. "-b"  Forces black and white display.
  82.  
  83. "-c"  Force color mode, please check the section ColorsColors for
  84. more information.
  85.  
  86. "-C arg"  Used to specify a different color set in the
  87. command line. The format of arg is documented in the
  88. ColorsColors section.
  89.  
  90. "-d"  Disables mouse support.
  91.  
  92. "-f"  Displays the compiled-in search paths for Midnight
  93. Commander files.
  94.  
  95. "-k"  Reset softkeys to their default from the
  96. termcap/terminfo database. Only useful on HP terminals
  97. when the function keys don't work.
  98.  
  99. "-l file"   Save the ftpfs dialog with the server in file.
  100.  
  101. "-P"  At program end, the Midnight Commander will print the
  102. last working directory; this, along with the shell
  103. function below, will allow you to browse through your
  104. directories and automatically move to the last directory
  105. you were in (thanks to Torben Fjerdingstad and Sergey for
  106. contributing this function and the code which implements
  107. this option).
  108.  
  109. bash and zsh users:
  110.  
  111. mc ()
  112. {
  113.         MC=/tmp/mc$$-"$RANDOM"
  114.         @prefix@/bin/mc -P "$@" > "$MC"
  115.         cd "`cat $MC`"
  116.         rm "$MC"
  117.         unset MC;
  118. }
  119.  
  120. tcsh users:
  121. alias mc 'setenv MC `@prefix@/bin/mc -P \!*`; cd $MC; unsetenv MC'
  122.  
  123. I know the bash function could be shorter for zsh and bash
  124. but the backquotes on bash won't accept your suspension
  125. the program with C-z.
  126.  
  127. "-s"  Turns on the slow terminal mode, in this mode the
  128. program will not draw expensive line drawing characters
  129. and will toggle verbose mode off.
  130.  
  131. "-t"  Used only if the code was compiled with Slang and
  132. terminfo: it makes the Midnight Commander use the value of
  133. the TERMCAP  variable for the terminal information instead
  134. of the information on the system wide terminal database
  135.  
  136. "-u"  Disables the use of a concurrent shell (only makes
  137. sense if the Midnight Commander has been built with
  138. concurrent shell support).
  139.  
  140. "-U"  Enables the use of the concurrent shell support (only
  141. makes sense if the Midnight Commander was built with the
  142. subshell support set as an optional feature).
  143.  
  144. "-v file"  Enters the internal viewer to view the file
  145. specified.
  146.  
  147. "-V"  Displays the version of the program.
  148.  
  149. "-x"  Forces xterm mode. Used when running on xterm-capable
  150. terminals (two screen modes, and able to send mouse escape
  151. sequences).
  152.  
  153. If specified, the first path name is the directory to show
  154. in the selected panel; the second path name is the
  155. directory to be shown in the other panel.
  156.  
  157. [Overview]
  158. Overview
  159.  
  160. The screen of the Midnight Commander is divided into four
  161. parts. Almost all of the screen space is taken up by two
  162. directory panels. By default, the second bottommost line
  163. of the screen is the shell command line, and the bottom
  164. line shows the function key labels. The topmost line is
  165. the menu bar line.Menu Bar The menu bar line may not be visible,
  166. but appears if you click the topmost line with the mouse
  167. or press the F9 key.
  168.  
  169. The Midnight Commander provides a view of two directories
  170. at the same time. One of the panels is the current panel
  171. (a selection bar is in the current panel). Almost all
  172. operations take place on the current panel. Some file
  173. operations like Rename and Copy by default use the
  174. directory of the unselected panel as a destination (don't
  175. worry, they always ask you for confirmation first). For
  176. more information, see the sections on the Directory
  177. Panels,Directory Panels the Left and Right MenusLeft and Right Menus and the File Menu.File Menu
  178.  
  179. You can execute system commands from the Midnight
  180. Commander by simply typing them. Everything you type will
  181. appear on the shell command line, and when you press Enter
  182. the Midnight Commander will execute the command line you
  183. typed; read the Shell Command LineShell Command Line and Input Line KeysInput Line Keys
  184. sections to learn more about the command line.
  185.  
  186. [Mouse Support]
  187. Mouse Support
  188.  
  189. The Midnight Commander comes with mouse support. It is
  190. activated whenever you are running on an xterm(1)  terminal
  191. (it even works if you take a telnet or rlogin connection
  192. to another machine from the xterm) or if you are running
  193. on a Linux console and have the gpm  mouse server running.
  194.  
  195. When you left click on a file in the directory panels,
  196. that file is selected; if you click with the right button,
  197. the file is marked (or unmarked, depending on the previous
  198. state).
  199.  
  200. Double-clicking on a file will try to execute the command
  201. if it is an executable program; and if the extension fileExtension File
  202. Edithas a program specified for the file's extension, the
  203. specified program is executed.
  204.  
  205. Also, it is possible to execute the commands assigned to
  206. the function key labels by clicking on them.
  207.  
  208. If a mouse button is clicked on the top frame line of the
  209. directory panel, it is scrolled one pageful backward.
  210. Correspondingly, a click on the bottom frame line will
  211. cause a scroll of one pageful forward. This frame line
  212. method works also in the Help ViewerHelp and the Directory
  213. Tree.Directory Tree
  214.  
  215. The default auto repeat rate for the mouse buttons is 400
  216. milliseconds. This may be changed to other values by
  217. editing the ~/.mc/iniSave Setup file and changing the
  218. mouse_repeat_rate  parameter.
  219.  
  220. If you are running the Commander with the mouse support,
  221. you can bypass the Commander and get the default mouse
  222. behavior (cutting and pasting text) by holding down the
  223. Shift key.[]
  224.  
  225.  
  226. [Keys]
  227. Keys
  228.  
  229. Some commands in the Midnight Commander involve the use of
  230. the Control  (sometimes labeled CTRL or CTL) and the Meta
  231. (sometimes labeled ALT or even Compose) keys. In this
  232. manual we will use the following abbreviations:
  233.  
  234. C-<chr> means hold the Control key while typing the
  235. character <chr>. Thus C-f would be: hold the Control key
  236. and type f.
  237.  
  238. M-<chr> means hold the Meta or Alt key down while typing
  239. <chr>. If there is no Meta or Alt key, type ESC, release
  240. it, then type the character <chr>.
  241.  
  242. All input lines in the Midnight Commander use an
  243. approximation to the GNU Emacs editor's key bindings.
  244.  
  245. There are many sections which tell about the keys. The
  246. following are the most important.
  247.  
  248. The File MenuFile Menu section documents the keyboard shortcuts
  249. for the commands appearing in the File menu. This section
  250. includes the function keys. Most of these commands perform
  251. some action, usually on the selected file or the tagged
  252. files.
  253.  
  254. The Directory PanelsDirectory Panels section documents the keys which
  255. select a file or tag files as a target for a later action
  256. (the action is usually one from the file menu).
  257.  
  258. The Shell Command LineShell Command Line section list the keys which are
  259. used for entering and editing command lines. Most of these
  260. copy file names and such from the directory panels to the
  261. command line (to avoid excessive typing) or access the
  262. command line history.
  263.  
  264. Input Line KeysInput Line Keys are used for editing input lines. This
  265. means both the command line and the input lines in the
  266. query dialogs.
  267.  
  268. [Miscellaneous Keys]
  269. Miscellaneous Keys
  270.  
  271. Here are some keys which don't fall into any of the other
  272. categories:
  273.  
  274. Enter.  If there is some text in the command line (the one
  275. at the bottom of the panels), then that command is
  276. executed. If there is no text in the command line then if
  277. the selection bar is over a directory the Midnight
  278. Commander does a chdir(2)  to the selected directory and
  279. reloads the information on the panel; if the selection is
  280. an executable file then it is executed. Finally, if the
  281. extension of the selected file name matches one of the
  282. extensions in the extensions fileExtension File Edit then the corresponding
  283. command is executed.
  284.  
  285. C-l.  Repaint all the information in the Midnight
  286. Commander.
  287.  
  288. C-x c.  Run the ChmodChmod command on a file or on the tagged
  289. files.
  290.  
  291. C-x o.  Run the ChownChown command on the current file or on the
  292. tagged files.
  293.  
  294. C-x l.  Run the link command.
  295.  
  296. C-x s.  Run the symbolic link command.
  297.  
  298. C-x i.  Set the other panel display mode to information.
  299.  
  300. C-x q.  Set the other panel display mode to quick view.
  301.  
  302. C-x !.  Execute the External panelizeExternal panelize command.
  303.  
  304. C-x h  Run the add directory to hotlistHotlist command.
  305.  
  306. M-!,  Executes the Filtered view command, described in the
  307. view command.Internal File Viewer
  308.  
  309. M-?,  Executes the Find fileFind File command.
  310.  
  311. M-c,  Pops up the quick cdQuick cd dialog.
  312.  
  313. C-o,  When the program is being run in the Linux or SCO
  314. console or under an xterm, it will show you the output of
  315. the previous command. When ran on the Linux console, the
  316. Midnight Commander uses an external program (cons.saver)
  317. to handle saving and restoring of information on the
  318. screen.
  319.  
  320. When the subshell support is compiled in, you can type C-o
  321. at any time and you will be taken back to the Midnight
  322. Commander main screen, to return to your application just
  323. type C-o. If you have an application suspended by using
  324. this trick, you won't be able to execute other programs
  325. from the Midnight Commander until you terminate the
  326. suspended application.
  327.  
  328. [Directory Panels]
  329. Directory Panels
  330.  
  331. This section lists the keys which operate on the directory
  332. panels. If you want to know how to change the appearance
  333. of the panels take a look at the section on Left and Right
  334. Menus.Left and Right Menus
  335.  
  336. Tab, C-i.  Change the current panel. The old other panel
  337. becomes the new current panel and the old current panel
  338. becomes the new other panel. The selection bar moves from
  339. the old current panel to the new current panel.
  340.  
  341. Insert, C-t.  To tag files you may use the Insert key (the
  342. kich1 terminfo sequence) or the C-t (Control-t) sequence.
  343. To untag files, just retag a tagged file.
  344.  
  345. M-g, M-h (or M-r), M-j.  Used to select the top file in a
  346. panel, the middle file and the bottom one, respectively.
  347.  
  348. C-s, M-s.  Start a filename search in the directory
  349. listing. When the search is active the keypresses will be
  350. added to the search string instead of the command line. If
  351. the "Show mini-status"  option is enabled the search string
  352. is shown on the mini-status line. When typing, the
  353. selection bar will move to the next file starting with the
  354. typed letters. The "backspace" or DEL   keys can be used to
  355. correct typing mistakes. If C-s is pressed again, the next
  356. match is searched for.
  357.  
  358. M-t  Toggle the current display listing to show the next
  359. display listing mode. With this it is possible to quickly
  360. switch from long listing to regular listing and the user
  361. defined listing mode.
  362.  
  363. C-\\ (control-backslash).  Show the directory hotlistHotlist and
  364. change to the selected directory.
  365.  
  366. +  (plus).  This is used to select (tag) a group of files.
  367. The Midnight Commander will prompt for a regular
  368. expression describing the group. When Shell Patterns   are
  369. enabled, the regular expression is much like the regular
  370. expressions in the shell (* standing for zero or more
  371. characters and ? standing for one character). If Shell
  372. Patterns  is off, then the tagging of files is done with
  373. normal regular expressions (see ed (1)).
  374.  
  375. If the expression starts or ends with a slash (/), then it
  376. will select directories instead of files.
  377.  
  378. \\ (backslash).  Use the "\" key to unselect a group of
  379. files. This is the opposite of the Plus key.
  380.  
  381. up-key, C-p.  Move the selection bar to the previous entry
  382. in the panel.
  383.  
  384. down-key, C-n.  Move the selection bar to the next entry in
  385. the panel.
  386.  
  387. home, a1, M-<.  Move the selection bar to the first entry
  388. in the panel.
  389.  
  390. end, c1, M->.  Move the selection bar to the last entry in
  391. the panel.
  392.  
  393. next-page, C-v.  Move the selection bar one page down.
  394.  
  395. prev-page, M-v.  Move the selection bar one page up.
  396.  
  397. M-o,  If the other panel is a listing panel and you are
  398. standing on a directory in the current panel, then the
  399. other panel contents are set to the contents of the
  400. currently selected directory (like Emacs' dired C-o key)
  401. otherwise the other panel contents are set to the parent
  402. dir of the current dir.
  403.  
  404. C-PageUp, C-PageDown  Only when ran on the Linux console:
  405. does a chdir to ".." and to the currently selected
  406. directory respectively.
  407.  
  408. [Shell Command Line]
  409. Shell Command Line
  410.  
  411. This section lists keys which are useful to avoid
  412. excessive typing when entering shell commands.
  413.  
  414. M-Enter.  Copy the currently selected file name to the
  415. command line.
  416.  
  417. C-Enter.  Same a M-Enter, this one only works on the Linux
  418. console.
  419.  
  420. M-Tab.  Does the filename, command, variable, username and
  421. hostname completionCompletion for you.
  422.  
  423. C-x t, C-x C-t.  Copy the tagged files (or if there are no
  424. tagged files, the selected file) of the current panel (C-x
  425. t) or of the other panel (C-x C-t) to the command line.
  426.  
  427. C-x p, C-x C-p.   The first key sequence copies the current
  428. path name to the command line, and the second one copies
  429. the unselected panel's path name to the command line.
  430.  
  431. C-q.  The quote command can be used to insert characters
  432. that are otherwise interpreted by the Midnight Commander
  433. (like the '+' symbol)
  434.  
  435. M-p, M-n.  Use these keys to browse through the command
  436. history. M-p takes you to the last entry, M-n takes you to
  437. the next one.
  438.  
  439. M-h.  Displays the history for the current input line.
  440.  
  441. [General Movement Keys]
  442. General Movement Keys
  443.  
  444. The help viewer, the file viewer and the directory tree
  445. use common code to handle moving. Therefore they accept
  446. exactly the same keys. Each of them also accepts some keys
  447. of its own.
  448.  
  449. Other parts of the Midnight Commander use some of the same
  450. movement keys, so this section may be of use for those
  451. parts too.
  452.  
  453. Up, C-p.  Moves one line backward.
  454.  
  455. Down, C-n.  Moves one line forward.
  456.  
  457. Prev Page, Page Up, M-v.  Moves one pageful backward.
  458.  
  459. Next Page, Page Down, C-v.  Moves one pageful forward.
  460.  
  461. Home, A1.  Moves to the beginning.
  462.  
  463. End, C1.  Move to the end.
  464.  
  465. The help viewer and the file viewer accept the following
  466. keys in addition the to ones mentioned above:
  467.  
  468. b, C-b, C-h, Backspace, Delete.  Moves one pageful
  469. backward.
  470.  
  471. Space bar.  Moves one pageful forward.
  472.  
  473. u, d.  Moves one half of a page backward or forward.
  474.  
  475. g, G.  Moves to the beginning or to the end.
  476.  
  477. [Input Line Keys]
  478. Input Line Keys
  479.  
  480. The input lines (they are used for the command lineShell Command Line and
  481. for the query dialogs in the program) accept these keys:
  482.  
  483. C-a  puts the cursor at the beginning of line.
  484.  
  485. C-e  puts the cursor at the end of the line.
  486.  
  487. C-b, move-left  move the cursor one position left.
  488.  
  489. C-f, move-right  move the cursor one position right.
  490.  
  491. M-f  moves one word forward.
  492.  
  493. M-b  moves one word backward.
  494.  
  495. C-h, backspace  delete the previous character.
  496.  
  497. C-d, Delete  delete the character in the point (over the
  498. cursor).
  499.  
  500. C-@  sets the mark for cutting.
  501.  
  502. C-w  copies the text between the cursor and the mark to a
  503. kill buffer and removes the text from the input line.
  504.  
  505. M-w  copies the text between the cursor and the mark to a
  506. kill buffer.
  507.  
  508. C-y  yanks back the contents of the kill buffer.
  509.  
  510. C-k  kills the text from the cursor to the end of the line.
  511.  
  512. M-p, M-n  Use these keys to browse through the command
  513. history. M-p takes you to the last entry, M-n takes you to
  514. the next one.
  515.  
  516. M-C-h, M-Backspace  delete one word backward.
  517.  
  518. M-Tab  does the filename, command, variable, username and
  519. hostname completionCompletion for you.
  520.  
  521. []
  522.  
  523.  
  524. [Menu Bar]
  525. Menu Bar
  526.  
  527. The menu bar pops up when you press F9 or click the mouse
  528. on the top row of the screen. The menu bar has five menus:
  529. "Left", "File", "Command", "Options" and "Right".
  530.  
  531. The Left and Right MenusLeft and Right Menus allow you to modify the
  532. appearance of the left and right directory panels.
  533.  
  534. The File MenuFile Menu lists the actions you can perform on the
  535. currently selected file or the tagged files.
  536.  
  537. The Command MenuCommand Menu lists the actions which are more general
  538. and bear no relation to the currently selected file or the
  539. tagged files.
  540.  
  541. [Left and Right Menus]
  542. Left and Right Menus
  543.  
  544. The outlook of the directory panels can be changed from
  545. the "Left"  and "Right"  menus.
  546.  
  547. [Listing Mode...]
  548. Listing Mode...
  549.  
  550. The listing mode view is used to display a listing of
  551. files, there are four different listing modes available:
  552. Full,  Brief,  Long,  and User.  The full directory view shows
  553. the file name, the size of the file and the modification
  554. time.
  555.  
  556. The brief view shows only the file name and it has two
  557. columns (therefore showing twice as many files as other
  558. views). The long view is similar to the output of "ls -l"
  559. command. The long view takes the whole screen width.
  560.  
  561. If you choose the "User" display format, then you have to
  562. specify the display format.
  563.  
  564. The user display format must start with a panel size
  565. specifier. This may be "half" or "full", and they specify
  566. a half screen panel and a full screen panel respectively.
  567.  
  568. After the panel size, you may specify the two columns mode
  569. on the panel, this is done by adding the number "2" to the
  570. user format string.
  571.  
  572. After this you add the name of the fields with an optional
  573. size specifier. This are the available fields you may
  574. display:
  575.  
  576. name,  displays the file name.
  577.  
  578. size,  displays the file size.
  579.  
  580. bsize,  is an alternative form of the <bf/size/ format. It
  581. displays the size of the files and for directories it just
  582. shows SUB-DIR or UP--DIR.
  583.  
  584. type,  displays a one character field type. This character
  585. is a superset of what is displayed by ls with the -F flag.
  586. An asterisk for executable files, a slash for directories,
  587. an at-sign for links, an equal sign for sockets, a hyphen
  588. for character devices, a plus sign for block devices, a
  589. pipe for fifos, a tilde for symbolic links to directories
  590. and an exclamation mark for stalled symlinks (links that
  591. point nowhere).
  592.  
  593. mtime,  file's last modification time.
  594.  
  595. atime,  file's last access time.
  596.  
  597. ctime,  file's creation time.
  598.  
  599. perm,  a string representing the current permission bits of
  600. the file.
  601.  
  602. mode,  an octal value with the current permission bits of
  603. the file.
  604.  
  605. nlink,  the number of links to the file. ngid,  the GID
  606. (numeric).
  607.  
  608. nuid,  the UID (numeric).
  609.  
  610. owner,  the owner of the file.
  611.  
  612. group,  the group of the file.
  613.  
  614. inode,  the inode of the file.
  615.  
  616. Also you may use these field names for arranging the
  617. display:
  618.  
  619. space,  a space in the display format.
  620.  
  621. mark,  An asterisk if the file is tagged, a space if it's
  622. not.
  623.  
  624. |,  This character is used to add a vertical line to the
  625. display format.
  626.  
  627. To force one field to a fixed size (a size specifier), you
  628. just add a ':' and then the number of characters you want
  629. the field to have, if the number is followed by the symbol
  630. '+', then the size specifies the minimum field size, if
  631. the program finds out that there is more space on the
  632. screen, it will then expand this field.
  633.  
  634. For example, the Full  display corresponds to this format:
  635.  
  636. half type,name,|,size,|,mtime
  637.  
  638. And the Long  display corresponds to this format:
  639.  
  640. full
  641. perm,space,nlink,space,owner,space,group,space,size,space,
  642. mtime,space,name
  643.  
  644. This is a nice user display format:
  645.  
  646. half name,|,size:7,|,type,mode:3
  647.  
  648. Panels may also be set to the following modes:
  649.  
  650. "Info"  The info view display information related to the
  651. currently selected file and if possible information about
  652. the current file system.
  653.  
  654. "Tree"   The tree view is quite similar to the directory
  655. treeDirectory Tree feature. See the section about it for more
  656. information.
  657.  
  658. "Quick View"  In this mode, the panel will switch to a
  659. reduced viewerInternal File Viewer that displays the contents of the
  660. currently selected file, if you select the panel (with the
  661. tab key or the mouse), you will have access to the usual
  662. viewer commands.
  663.  
  664. [Sort Order...]
  665. Sort Order...
  666.  
  667. The eight sort orders are by name, by extension, by
  668. modification time, by access time, and by inode
  669. information modification time, by size, by inode and
  670. unsorted. In the Sort order dialog box you can choose the
  671. sort order and you may also specify if you want to sort in
  672. reverse order by checking the reverse box.
  673.  
  674. By default directories are sorted before files but this
  675. can be changed from the Options menuOptions Menu (option "Mix all
  676. files"  ).
  677.  
  678. [Filter...]
  679. Filter...
  680.  
  681. The filter command allows you to specify a shell pattern
  682. (for example "*.tar.gz"  ) which the files must match to be
  683. shown. Regardless of the filter pattern, the directories
  684. and the links to directories are always shown in the
  685. directory panel.
  686.  
  687. [Reread]
  688. Reread
  689.  
  690. The reread command reload the list of files in the
  691. directory. It is useful if other processes have created or
  692. removed files. If you have panelized file names in a panel
  693. this will reload the directory contents and remove the
  694. panelized information (See the section External panelizeExternal panelize
  695. for more information).
  696.  
  697. [File Menu]
  698. File Menu
  699.  
  700. The Midnight Commander uses the F1 - F10 keys as keyboard
  701. shortcuts for commands appearing in the file menu. The
  702. escape sequences for the Fkeys are terminfo capabilities
  703. kf1 trough kf10. On terminals without function key
  704. support, you can achieve the same functionality by
  705. pressing the ESC key and then a number in the range 1
  706. through 9 and 0 (corresponding to F1 to F9 and F10
  707. respectively).
  708.  
  709. The File menu has the following commands (keyboard
  710. shortcuts in parentheses):
  711.  
  712. Help (F1)
  713.  
  714. Invokes the built-in hypertext help viewer. Inside the
  715. help viewer,Help you can use the Tab key to select the next
  716. link and the Enter key to follow that link. The keys Space
  717. and Backspace are used to move forward and backward in a
  718. help page. Press F1 again to get the full list of accepted
  719. keys.
  720.  
  721. Menu (F2)
  722.  
  723. Invoke the user menu.Menu File Edit The user menu provides an easy way
  724. to provide users with a menu and add extra features to the
  725. Midnight Commander.
  726.  
  727. View (F3, Shift-F3)
  728.  
  729. View the currently selected file. By default this invokes
  730. the Internal File ViewerInternal File Viewer but if the option "Use internal
  731. view" is off, it invokes an external file viewer specified
  732. by the PAGER   environment variable. If PAGER  is undefined,
  733. the "view" command is invoked. If you use Shift-F3
  734. instead, the viewer will be invoked without doing any
  735. formatting or pre processing to the file.
  736.  
  737. Filtered View (M-!)
  738.  
  739. this command prompts for a command and it's arguments (the
  740. argument defaults to the currently selected file name),
  741. the output from such command is shown in the internal file
  742. viewer.
  743.  
  744. Edit (F4)
  745.  
  746. Currently it invokes the vi   editor, or the editor
  747. specified in the EDITOR  environment variable, or the
  748. Internal File EditorInternal File Editor if the use_internal_edit option is
  749. on.
  750.  
  751. Copy (F5)
  752.  
  753. Pop up an input dialog with destination that defaults to
  754. the directory in the non-selected panel and copies the
  755. currently selected file (or the tagged files, if there is
  756. at least one file tagged) to the directory specified by
  757. the user in the input dialog. During this process, you can
  758. press C-c or ESC to abort the operation. For details about
  759. source mask (which will be usually either * or ^\(.*\)$
  760. depending on setting of Use shell patterns) and possible
  761. wildcards in the destination see Mask copy/rename.Mask Copy/Rename
  762.  
  763. On some systems, it is possible to do the copy in the
  764. background by clicking on the background button (or
  765. pressing M-b in the dialog box). The Background JobsBackground Jobs is
  766. used to control the background process.
  767.  
  768. Link (C-x l)
  769.  
  770. Create a hard link to the current file.
  771.  
  772. SymLink (C-x s)
  773.  
  774. Create a symbolic link to the current file. To those of
  775. you who don't know what links are: creating a link to a
  776. file is a bit like copying the file, but both the source
  777. filename and the destination filename represent the same
  778. file image. For example, if you edit one of these files,
  779. all changes you make will appear in both files. Some
  780. people call links aliases or shortcuts.
  781.  
  782. A hard link appears as a real file. After making it, there
  783. is no way of telling which one is the original and which
  784. is the link. If you delete either one of them the other
  785. one is still intact. It is very difficult to notice that
  786. the files represent the same image. Use hard links when
  787. you don't even want to know.
  788.  
  789. A symbolic link is a reference to the name of the original
  790. file. If the original file is deleted the symbolic link is
  791. useless. It is quite easy to notice that the files
  792. represent the same image. The Midnight Commander shows an
  793. "@"-sign in front of the file name if it is a symbolic
  794. link to somewhere (except to directory, where it shows a
  795. tilde (~)). The original file which the link points to is
  796. shown on mini-status line if the "Show mini-status"  option
  797. is enabled. Use symbolic links when you want to avoid the
  798. confusion that can be caused by hard links.
  799.  
  800. Rename/Move (F6)
  801.  
  802. Pop up an input dialog that defaults to the directory in
  803. the non-selected panel and moves the currently selected
  804. file (or the tagged files if there is at least one tagged
  805. file) to the directory specified by the user in the input
  806. dialog. During the process, you can press C-c or ESC to
  807. abort the operation. For more details look at Copy
  808. operation above, most of the things are quite similar.
  809.  
  810. On some systems, it is possible to do the copy in the
  811. background by clicking on the background button (or
  812. pressing M-b in the dialog box). The Background JobsBackground Jobs is
  813. used to control the background process.
  814.  
  815. Mkdir (F7)
  816.  
  817. Pop up an input dialog and creates the directory
  818. specified.
  819.  
  820. Delete (F8)
  821.  
  822. Delete the currently selected file or the tagged files in
  823. the currently selected panel. During the process, you can
  824. press C-c or ESC to abort the operation.
  825.  
  826. Quick cd (M-c)  Use the quick cdQuick cd command if you have full
  827. command line and want to cd somewhere.
  828.  
  829. Select group (+)
  830.  
  831. This is used to select (tag) a group of files. The
  832. Midnight Commander will prompt for a regular expression
  833. describing the group. When Shell Patterns   are enabled,
  834. the regular expression is much like the filename globbing
  835. in the shell (* standing for zero or more characters and ?
  836. standing for one character). If Shell Patterns  is off,
  837. then the tagging of files is done with normal regular
  838. expressions (see ed (1)).
  839.  
  840. To mark directories instead of files, the expression must
  841. start or end with a '/'.
  842.  
  843. Unselect group (\\)
  844.  
  845. Used for unselecting a group of files. This is the
  846. opposite of the "Select group"  command.
  847.  
  848. Quit (F10, Shift-F10)
  849.  
  850. Terminate the Midnight Commander. Shift-F10 is used when
  851. you want to quit and you are using the shell wrapper.
  852. Shift-F10 will not take you to the last directory you
  853. visited with the Midnight Commander, instead it will stay
  854. at the directory where you started the Midnight Commander.
  855.  
  856. [Quick cd]
  857. Quick cd
  858.  
  859. This command is useful if you have a full command line and
  860. want to cdThe cd internal command somewhere without having to yank and paste
  861. the command line. This command pops up a small dialog,
  862. where you enter everything you would enter after cd   on
  863. the command line and then you press enter. This features
  864. all the things that are already in the internal cd
  865. command.The cd internal command
  866.  
  867. [Command Menu]
  868. Command Menu
  869.  
  870. The Directory treeDirectory Tree command shows a tree figure of the
  871. directories.
  872.  
  873. The Find fileFind File command allows you to search for a specific
  874. file. The "Swap panels" command swaps the contents of the
  875. two directory panels.
  876.  
  877. The "Panels on/off" command shows the output of the last
  878. shell command. This works only on xterm and on Linux and
  879. SCO console.
  880.  
  881. The Compare directories (C-x d) command compares the
  882. directory panels with each other. You can then use the
  883. Copy (F5) command to make the panels identical. There are
  884. three compare methods. The quick method compares only file
  885. size and file date. The thorough method makes a full
  886. byte-by-byte compare. The thorough method is not available
  887. if the machine does not support the mmap(2) system call.
  888. The size-only compare method just compares the file sizes
  889. and does not check the contents or the date times, it just
  890. checks the file size.
  891.  
  892. The Command history command shows a list of typed
  893. commands. The selected command is copied to the command
  894. line. The command history can also be accessed by typing
  895. M-p or M-n.
  896.  
  897. The Directory hotlist (C-\)Hotlist command makes changing of the
  898. current directory to often used directories faster.
  899.  
  900. The External panelizeExternal panelize allows you to execute an external
  901. program, and make the output of that program the contents
  902. of the current panel.
  903.  
  904. Extension file editExtension File Edit command allows you to specify
  905. programs to executed when you try to execute, view, edit
  906. and do a bunch of other thing on files with certain
  907. extensions (filename endings). The Menu file editMenu File Edit
  908. command may be used for editing the user menu (which
  909. appears by pressing F2).
  910.  
  911. [Directory Tree]
  912. Directory Tree
  913.  
  914. The Directory Tree command shows a tree figure of the
  915. directories. You can select a directory from the figure
  916. and the Midnight Commander will change to that directory.
  917.  
  918. There are two ways to invoke the tree. The real directory
  919. tree command is available from Commands menu. The other
  920. way is to select tree view from the Left or Right menu.
  921.  
  922. To get rid of long delays the Midnight Commander creates
  923. the tree figure by scanning only a small subset of all the
  924. directories. If the directory which you want to see is
  925. missing, move to its parent directory and press C-r (or
  926. F2).
  927.  
  928. You can use the following keys:
  929.  
  930. General movement keysGeneral Movement Keys are accepted.
  931.  
  932. Enter.  In the directory tree, exits the directory tree and
  933. changes to this directory in the current panel. In the
  934. tree view, changes to this directory in the other panel
  935. and stays in tree view mode in the current panel.
  936.  
  937. C-r, F2 (Rescan).  Rescan this directory. Use this when the
  938. tree figure is out of date: it is missing subdirectories
  939. or shows some subdirectories which don't exist any more.
  940.  
  941. F3 (Forget).  Delete this directory from the tree figure.
  942. Use this to remove clutter from the figure. If you want
  943. the directory back to the tree figure press F2 in its
  944. parent directory.
  945.  
  946. F4 (Static/Dynamic).  Toggle between the dynamic navigation
  947. mode (default) and the static navigation mode.
  948.  
  949. In the static navigation mode you can use the Up and Down
  950. keys to select a directory. All known directories are
  951. shown.
  952.  
  953. In the dynamic navigation mode you can use the Up and Down
  954. keys to select a sibling directory, the Left key to move
  955. to the parent directory, and the Right key to move to a
  956. child directory. Only the parent, sibling and children
  957. directories are shown, others are left out. The tree
  958. figure changes dynamically as you traverse.
  959.  
  960. F5 (Copy).  Copy the directory.
  961.  
  962. F6 (RenMov).  Move the directory.
  963.  
  964. F7 (Mkdir).  Make a new directory below this directory.
  965.  
  966. F8 (Delete).  Delete this directory from the file system.
  967.  
  968. C-s, M-s.  Search the next directory matching the search
  969. string. If there is no such directory these keys will move
  970. one line down.
  971.  
  972. C-h, Backspace.  Delete the last character of the search
  973. string.
  974.  
  975. Any other character.  Add the character to the search
  976. string and move to the next directory which starts with
  977. these characters. In the tree view you must first activate
  978. the search mode by pressing C-s. The search string is
  979. shown in the mini status line.
  980.  
  981. The following actions are available only in the directory
  982. tree. They aren't supported in the tree view.
  983.  
  984. F1 (Help).  Invoke the help viewer and show this section.
  985.  
  986. Esc, F10.  Exit the directory tree. Do not change the
  987. directory.
  988.  
  989. The mouse is supported. A double-click behaves like Enter.
  990. See also the section on mouse support.Mouse Support
  991.  
  992. [Find File]
  993. Find File
  994.  
  995. The Find File feature first asks for the start directory
  996. for the search and the filename to be searched for. By
  997. pressing the Tree button you can select the start
  998. directory from the directory treeDirectory Tree figure.
  999.  
  1000. The contents field accepts regular expressions similar to
  1001. egrep(1). That means you have to escape characters with a
  1002. special meaning to egrep with "\", e.g. if you search for
  1003. "strcmp (" you will have to input "strcmp \(" (without the
  1004. double quotes).
  1005.  
  1006. You can start the search by pressing the Ok button. During
  1007. the search you can stop from the Stop button and continue
  1008. from the Start button.
  1009.  
  1010. You can browse the filelist with the up and down arrow
  1011. keys. The Chdir button will change to the directory of the
  1012. currently selected file. The Again button will ask for the
  1013. parameters for a new search. The Quit button quits the
  1014. search operation. The Panelize button will place the found
  1015. files to the current directory panel so that you can do
  1016. additional operations on them (view, copy, move, delete
  1017. and so on). After panelizing you can press C-r to return
  1018. to the normal file listing.
  1019.  
  1020. It is possible to have a list of directories that the Find
  1021. File command should skip during the search (for example,
  1022. you may want to avoid searches on a CDROM or on a NFS
  1023. directory that is mounted across a slow link).
  1024.  
  1025. Directories to be skipped should be set on the variable
  1026. find_ignore_dirs   in the Misc   section of your ~/.mc/ini
  1027. file.
  1028.  
  1029. Directory components should be separated with a colon,
  1030. here is an example:
  1031.  
  1032. [Misc]
  1033. find_ignore_dirs=/cdrom:/nfs/wuarchive:/afs
  1034.  
  1035. You may consider using the External panelizeExternal panelize command for
  1036. some operations. Find file command is for simple queries
  1037. only, while using External panelize you can do as
  1038. mysterious searches as you would like.
  1039.  
  1040. [External panelize]
  1041. External panelize
  1042.  
  1043. The External panelize allows you to execute an external
  1044. program, and make the output of that program the contents
  1045. of the current panel.
  1046.  
  1047. For example, if you want to manipulate in one of the
  1048. panels all the symbolic links in the current directory,
  1049. you can use external panelization to run the following
  1050. command:
  1051.  
  1052. find . -type l -print
  1053. Upon command completion, the directory contents of the
  1054. panel will no longer be the directory listing of the
  1055. current directory, but all the files that are symbolic
  1056. links.
  1057.  
  1058. If you want to panelize all of the files that have been
  1059. downloaded from your ftp server, you can use this awk
  1060. command to extract the file name from the transfer log
  1061. files:
  1062.  
  1063. awk '$9 ~! /incoming/ { print $9 }' < /usr/adm/xferlog
  1064.  
  1065. You may want to save often used panelize commands under a
  1066. descriptive name, so that you can recall them quickly. You
  1067. do this by typing the command on the input line and
  1068. pressing Add new button. Then you enter a name under which
  1069. you want the command to be saved. Next time, you just
  1070. choose that command from the list and do not have to type
  1071. it again.
  1072.  
  1073. [Hotlist]
  1074. Hotlist
  1075.  
  1076. The Directory hotlist command shows the labels of the
  1077. directories in the directory hotlist. The Midnight
  1078. Commander will change to the directory corresponding to
  1079. the selected label. From the hotlist dialog, you can
  1080. remove already created label/directory pairs and add new
  1081. one. For adding you may want to use a standalone Add to
  1082. hotlist command (C-x h), which adds the current directory
  1083. into the directory hotlist, as well. The user is prompted
  1084. for a label for the directory.
  1085.  
  1086. This makes cd to often used directories faster. You may
  1087. consider using the CDPATH variable as described in
  1088. internal cd commandThe cd internal command description.
  1089.  
  1090. [Extension File Edit]
  1091. Extension File Edit
  1092.  
  1093. This will invoke your editor on the file ~/.mc/ext. The
  1094. format of this file is as follows (the format has changed
  1095. with version 3.0):
  1096.  
  1097. All lines starting with # or empty lines are thrown away.
  1098.  
  1099. Lines starting in the first column should have following
  1100. format:
  1101.  
  1102. keyword/descNL,  i.e. everything after keyword/  until new
  1103. line is desc
  1104.  
  1105. keyword can be:
  1106.  
  1107. shell  (desc is then any extension (no wildcards), i.e.
  1108. matches all the files *desc . Example: .tar matches *.tar)
  1109.  
  1110. regex  (desc is a regular expression)
  1111.  
  1112. type  (file matches this if `file %f` matches regular
  1113. expression desc (the filename: part from `file %f` is
  1114. removed))
  1115.  
  1116. default  (matches any file no matter what desc is)
  1117.  
  1118. Other lines should start with a space or tab and should be
  1119. of the format:
  1120.  
  1121. keyword=commandNL  (with no spaces around =), where keyword
  1122. should be:
  1123.  
  1124. Open  (if the user presses Enter or doubleclicks it), View
  1125. (F3), Edit  (F4), Drop  (user drops some files on it) or any
  1126. other user defined name (those will be listed in the
  1127. extension dependent pop-up menu). Icon  name is reserved
  1128. for future use by mc.
  1129.  
  1130. command  is any one-line shell command, with the simple
  1131. macro substitution.Macro Substitution
  1132.  
  1133. Target are evaluated from top to bottom (order is thus
  1134. important). If some actions are missing, search continues
  1135. as if this target didn't match (i.e. if a file matches the
  1136. first and second entry and View action is missing in the
  1137. first one, then on pressing F3 the View action from the
  1138. second entry will be used. default should catch all the
  1139. actions.
  1140.  
  1141. [Background jobs]
  1142. Background jobs
  1143.  
  1144. This lets you control the state of any background Midnight
  1145. Commander process (only copy and move files operations can
  1146. be done in the background). You can stop, restart and kill
  1147. a background job from here.
  1148.  
  1149. [Menu File Edit]
  1150. Menu File Edit
  1151.  
  1152. The user menu is a menu of useful actions that can be
  1153. customized by the user. When you access the user menu, the
  1154. file .mc.menu from the current directory is used if it
  1155. exists, but only if it is owned by user or root and is not
  1156. world-writable. If no such file found, ~/.mc/menu is tried
  1157. in the same way, and otherwise mc uses the default
  1158. system-wide menu @prefix@/lib/mc/mc.menu.
  1159.  
  1160. The format of the menu file is very simple. Lines that
  1161. start with anything but space or tab are considered
  1162. entries for the menu (in order to be able to use it like a
  1163. hot key, the first character should be a letter). All the
  1164. lines that start with a space or a tab are the commands
  1165. that will be executed when the entry is selected.
  1166.  
  1167. When an option is selected all the command lines of the
  1168. option are copied to a temporary file in the temporary
  1169. directory (usually /usr/tmp) and then that file is
  1170. executed. This allows the user to put normal shell
  1171. constructs in the menus. Also simple macro substitution
  1172. takes place before executing the menu code. For more
  1173. information, see macro substitution.Macro Substitution
  1174.  
  1175. Here is a sample mc.menu file:
  1176.  
  1177. A    Dump the currently selected file
  1178.     od -c %f
  1179.  
  1180. B    Edit a bug report and send it to root
  1181.     vi /tmp/mail.$$
  1182.     mail -s "Midnight Commander bug" root < /tmp/mail.$$
  1183.  
  1184. M    Read mail
  1185.     emacs -f rmail
  1186.  
  1187. N    Read Usenet news
  1188.     emacs -f gnus
  1189.  
  1190. H    Call the info hypertext browser
  1191.     info
  1192.  
  1193. J    Copy current directory to other panel recursively
  1194.     tar cf - . | (cd %D && tar xvpf -)
  1195.  
  1196. K    Make a release of the current subdirectory
  1197.     echo -n "Name of distribution file: "
  1198.     read tar
  1199.     ln -s %d `dirname %d`/$tar 
  1200.     cd ..
  1201.     tar cvhf ${tar}.tar $tar
  1202.  
  1203. = f *.tar.gz | f *.tgz & t n
  1204. X       Extract the contents of a compressed tar file
  1205.     tar xzvf %f
  1206.  
  1207. Default Conditions
  1208.  
  1209. Each menu entry may be preceded by a condition. The
  1210. condition must start from the first column with a '='
  1211. character. If the condition is true, the menu entry will
  1212. be the default entry.
  1213.  
  1214. Condition syntax:     = <sub-cond>
  1215.   or:            = <sub-cond> | <sub-cond> ...
  1216.   or:            = <sub-cond> & <sub-cond> ... 
  1217.  
  1218. Sub-condition is one of following:
  1219.  
  1220.   f <pattern>        current file matching pattern?
  1221.   F <pattern>        other file matching pattern?
  1222.   d <pattern>        current directory matching pattern?
  1223.   D <pattern>        other directory matching pattern?
  1224.   t <type>        current file of type?
  1225.   T <type>        other file of type?
  1226.   ! <sub-cond>        negate the result of sub-condition
  1227.  
  1228. Pattern is a normal shell pattern or a regular expression,
  1229. according to the shell patterns option. You can override
  1230. the global value of the shell patterns option by writing
  1231. "shell_patterns=x" on the first line of the menu file
  1232. (where "x" is either 0 or 1).
  1233.  
  1234. Type is one or more of the following characters:
  1235.  
  1236.   n    not directory
  1237.   r    regular file
  1238.   d    directory
  1239.   l    link
  1240.   c    char special
  1241.   b    block special
  1242.   f    fifo
  1243.   s    socket
  1244.   x    executable
  1245.   t    tagged
  1246.  
  1247. For example 'rlf' means either regular file, link or fifo.
  1248. The 't' type is a little special because it acts on the
  1249. panel instead of the file. The condition '=t t' is true if
  1250. there are tagged files in the current panel and false if
  1251. not.
  1252.  
  1253. If the condition starts with '=?' instead of '=' a debug
  1254. trace will be shown whenever the value of the condition is
  1255. calculated.
  1256.  
  1257. The conditions are calculated from left to right. This
  1258. means
  1259.     = f *.tar.gz | f *.tgz & t n
  1260. is calculated as
  1261.     ( (f *.tar.gz) | (f *.tgz) ) & (t n)
  1262.  
  1263. Here is a sample of the use of conditions:
  1264.  
  1265. = f *.tar.gz | f *.tgz & t n
  1266. L    List the contents of a compressed tar-archive
  1267.     gzip -cd %f | tar xvf -
  1268.  
  1269. Addition Conditions
  1270.  
  1271. If the condition begins with '+' (or '+?') instead of '='
  1272. (or '=?') it is an addition condition. If the condition is
  1273. true the menu entry will be included in the menu. If the
  1274. condition is false the menu entry will not be included in
  1275. the menu.
  1276.  
  1277. You can combine default and addition conditions by
  1278. starting condition with '+=' or '=+' (or '+=?' or '=+?' if
  1279. you want debug trace). If you want to use two different
  1280. conditions, one for adding and another for defaulting, you
  1281. can precede a menu entry with two condition lines, one
  1282. starting with '+' and another starting with '='.
  1283.  
  1284. Comments are started with '#'. The additional comment
  1285. lines must start with '#', space or tab.
  1286.  
  1287. [Options Menu]
  1288. Options Menu
  1289.  
  1290. The ConfigurationConfiguration command pops up a dialog from which you
  1291. can change most of settings of the Midnight Commander.
  1292.  
  1293. The Display bitsDisplay bits command pops up a dialog from which you
  1294. may select which characters is your terminal able to
  1295. display.
  1296.  
  1297. The ConfirmationConfirmation command pops up a dialog from which you
  1298. specify which actions you want to confirm.
  1299.  
  1300. The Learn keysLearn keys command pops up a dialog from which you
  1301. test some keys which are not working on some terminals and
  1302. you may fix them.
  1303.  
  1304. The Virtual FSVirtual FS command pops up a dialog from which you
  1305. specify some VFS related options.
  1306.  
  1307. The LayoutLayout command pops up a dialog from which you specify
  1308. a bunch of options how mc looks like on the screen.
  1309.  
  1310. The Save setupSave Setup command saves the current settings of the
  1311. Left, Right and Options menus. A small number of other
  1312. settings is saved, too.
  1313.  
  1314. [Configuration]
  1315. Configuration
  1316.  
  1317. The program has some options that may be toggled on and
  1318. off from the Configuration dialog. Options are enabled if
  1319. they have an asterisk or "x" in front of them. These
  1320. options are divided into three groups: Screen Colors,
  1321. Panel Options and Other Options.
  1322.  
  1323. Screen Colors
  1324.  
  1325. You can select whether your display supports color or not.
  1326. Normally this information is in the terminfo database. If
  1327. you want to know how to change individual colors see the
  1328. section on Colors.Colors
  1329.  
  1330. Panel Options
  1331.  
  1332. Show Backup Files.  By default the Midnight Commander
  1333. doesn't show files ending in '~' (like GNU's ls option
  1334. -B).
  1335.  
  1336. Show Hidden Files.  By default the Midnight Commander will
  1337. show all files that start with a dot (like ls -a).
  1338.  
  1339. Mark moves down.  By default when you mark a file (with
  1340. either C-t or the Insert key) the selection bar will move
  1341. down.
  1342.  
  1343. Show Mini-Status.  If enabled, show one line of status
  1344. information at the bottom of the panels about the
  1345. currently selected item.
  1346.  
  1347. Mix all files.  When this option is enabled, all files and
  1348. directories are shown mixed together. If the option is
  1349. off, directories (and links to directories) are shown at
  1350. the beginning of the listing, and other files afterwards.
  1351.  
  1352. Fast directory reload.  This option is off by default. If
  1353. you activate the fast reload, the Midnight Commander will
  1354. use a trick to determine if the directory contents have
  1355. changed. The trick is to reload the directory only if the
  1356. i-node of the directory has changed; this means that
  1357. reloads only happen when files are created or deleted. If
  1358. what changes is the i-node for a file in the directory
  1359. (file size changes, mode or owner changes, etc) the
  1360. display is not updated. In these cases, if you have the
  1361. option on, you have to rescan the directory manually (with
  1362. C-r).
  1363.  
  1364. Other Options
  1365.  
  1366. Verbose operation.  This toggles whether the file Copy,
  1367. Rename and Delete operations are verbose (i.e., display a
  1368. dialog box for each operation). If you have a slow
  1369. terminal, you may wish to disable the verbose operation.
  1370. It is automatically turned off if the speed of your
  1371. terminal is less than 9600 bps.
  1372.  
  1373. Pause after run.  After executing your commands, the
  1374. Midnight Commander can pause, so that you can examine the
  1375. output of the command. There are three possible settings
  1376. for this variable: Never  Means that you do not want to see
  1377. the output of your command. If you are using the Linux or
  1378. SCO console or an xterm, you will be able to see the
  1379. output of the command by typing C-o. "On dumb terminals"
  1380. You will get the pause message on terminals that are not
  1381. capable of showing the output of the last command executed
  1382. (any terminal that is not an xterm or the Linux console).
  1383. Always  The program will pause after executing all of your
  1384. commands.
  1385.  
  1386. Shell Patterns.  By default the Select, Unselect and Filter
  1387. commands will use shell-like regular expressions. The
  1388. following conversions are performed to achieve this: the
  1389. '*' is replaced by '.*' (zero or more characters); the '?'
  1390. is replaced by '.' (exactly one character) and '.' by the
  1391. literal dot. If the option is disabled, then the regular
  1392. expressions are the ones described in ed(1).
  1393.  
  1394. Auto Save Setup.  If this option is enabled, when you exit
  1395. the Midnight Commander the configurable options of the
  1396. Midnight Commander are saved in the ~/.mc/ini file.
  1397.  
  1398. Auto menus.  If this option is enabled, the user menu will
  1399. be invoked at startup. Useful for building menus for
  1400. non-unixers.
  1401.  
  1402. Use internal editor.  If this option is enabled, the
  1403. built-in file editor is used to edit files. If the option
  1404. is disabled, the editor specified in the EDITOR
  1405. environment variable is used. If no editor is specified,
  1406. vi  is used. See the section on the internal file editor.Internal File Editor
  1407.  
  1408. Use internal viewer.  If this option is enabled, the
  1409. built-in file viewer is used to view files. If the option
  1410. is disabled, the pager specified in the PAGER  environment
  1411. variable is used. If no pager is specified, the view
  1412. command is used. See the section on the internal file
  1413. viewer.Internal File Viewer
  1414.  
  1415. Confirm Delete.  This option is toggled on by default, and
  1416. will cause the Midnight Commander to ask for confirmation
  1417. when deleting a single file.
  1418.  
  1419. Cd follows links.  This option, if set, causes the Midnight
  1420. Commander to follow the logical chain of directories when
  1421. changing current directory either in the panels, or using
  1422. the cd command. This is the default behavior of bash. When
  1423. unset, the Midnight Commander follows the real directory
  1424. structure, so cd .. if you've entered that directory
  1425. through a link will move you to the current directory's
  1426. real parent and not to the directory where the link was
  1427. present.
  1428.  
  1429. [Display bits]
  1430. Display bits
  1431.  
  1432. This is used to configure the range of visible characters
  1433. on the screen. This setting may be 7-bits if your
  1434. terminal/curses supports only seven output bits,
  1435. ISO-8859-1 displays all the characters in the ISO-8859-1
  1436. map and full 8 bits is for those terminals that can
  1437. display full 8 bit characters.
  1438.  
  1439. [Confirmation]
  1440. Confirmation
  1441.  
  1442. In this menu you configure the confirmation options for
  1443. file deletion, overwriting, execution by pressing enter
  1444. and quitting the program.
  1445.  
  1446. [Learn keys]
  1447. Learn keys
  1448.  
  1449. This dialog lets you test if your keys F1-F20, Home, End,
  1450. etc. work properly on your terminal. They often don't,
  1451. since many terminal databases are broken.
  1452.  
  1453. You can move around with the Tab key, with the vi moving
  1454. keys ('h' left, 'j' down, 'k' up and 'l' right) and after
  1455. you press any arrow key once (this will mark it OK), then
  1456. you can use that key as well.
  1457.  
  1458. You test them just by pressing each of them. As soon as
  1459. you press a key and the key works properly, OK should
  1460. appear next to the name of that key. Once a key is marked
  1461. OK it starts to work as usually, e.g. F1 for the first
  1462. time will just check that F1 works OK, but from that time
  1463. on it will show help. The same applies to the arrow keys.
  1464. Tab key should be working always.
  1465.  
  1466. If some keys do not work properly, then you won't see OK
  1467. after the key name after you have pressed that key. You
  1468. may then want to fix it. You do it by pressing the button
  1469. of that key (either by mouse or using Tab and Enter). Then
  1470. a red message will appear and you will be asked to type
  1471. that key. If you want to abort this, press just Esc and
  1472. wait until the message disappears. Otherwise type the key
  1473. you're asked to type and also wait until the dialog
  1474. disappears.
  1475.  
  1476. When you finish with all the keys, you may want either to
  1477. Save your key fixes into your ~/.mc/ini file into the
  1478. [terminal:TERM] section (where TERM is the name of your
  1479. current terminal) or to discard them. If all your keys
  1480. were working properly and you had not to fix any key, then
  1481. (of course) no saving will occur.
  1482.  
  1483. [Virtual FS]
  1484. Virtual FS
  1485.  
  1486. This option gives you control over the settings of the
  1487. Virtual File System Virtual File System information cache.
  1488.  
  1489. The Midnight Commander keeps in memory the information
  1490. related to some of the virtual file systems to speed up
  1491. the access to the files in the file system. Since the
  1492. information that must be kept may be large (for example,
  1493. compressed tar files may be kept in RAM for faster
  1494. access), you may want to tune the parameters of the cached
  1495. information to decrease your memory usage or to maximize
  1496. the speed of access to frequently used file systems.
  1497.  
  1498. The Tar file system is quite clever about how it handles
  1499. tar files: it just loads the directory entries and when it
  1500. needs to use the information contained in the tar file, it
  1501. goes and grab it.
  1502.  
  1503. In the wild, tar files are usually kept compressed (plain
  1504. tar files are species in extinction), and because of the
  1505. nature of those files (the directory entries for the tar
  1506. files is not there waiting for us to be loaded), the tar
  1507. file system has two choices: load the complete,
  1508. uncompressed tar file into memory or uncompress the file
  1509. in the disk in a temporary location and then access the
  1510. uncompressed file as a regular tar file.
  1511.  
  1512. In this dialog box you tell the Midnight Commander which
  1513. sizes for compressed tar files you will tolerate to load
  1514. into your precious memory. The default setting is set to
  1515. one megabyte, this means that compressed tar files whose
  1516. size is at most one megabyte will be loaded into core,
  1517. otherwise a temporary uncompressed tar file will be
  1518. created to access the contents (all of this is transparent
  1519. to the user).
  1520.  
  1521. The program will let you add a suffix to specify the units
  1522. of the number you typed in, use 'k' for kilobyte and 'm'
  1523. for megabyte. Our routine does not accept floating point
  1524. numbers, so you can't use ".5 m" to specify 512 kilobytes,
  1525. you will have to use "512 k" instead.
  1526.  
  1527. Now, since we all love to browse files and tar files all
  1528. over the disk, it's common that you will leave a tar file
  1529. and the re-enter it later. Since uncompression is slow,
  1530. the Midnight Commander will cache the information in
  1531. memory for a limited amount of time, after you hit the
  1532. timeout, all of the memory resources associated with the
  1533. file system will be freed. The default timeout is set to
  1534. one minute.
  1535.  
  1536. [Layout]
  1537. Layout
  1538.  
  1539. The layout dialog gives you a possibility to change the
  1540. general layout of screen. You can specify whether the
  1541. menubar, the command prompt, the hintbar and the function
  1542. keybar are visible. On the Linux or SCO console you can
  1543. specify how many lines are shown in the output window.
  1544.  
  1545. The rest of the screen area is used for the two directory
  1546. panels. You can specify whether the area is split to the
  1547. panels in vertical or horizontal direction. The split can
  1548. be equal or you can specify an unequal split.
  1549.  
  1550. [Save Setup]
  1551. Save Setup
  1552.  
  1553. At startup the Midnight Commander will try to load
  1554. initialization information from the ~/.mc/ini file. If
  1555. this file doesn't exist, it will load the information from
  1556. the system-wide configuration file, located in
  1557. @prefix@/lib/mc/mc.ini. If the system-wide configuration
  1558. file doesn't exist, MC uses the default settings.
  1559.  
  1560. The Save Setup  command creates the ~/.mc/ini file by
  1561. saving the current settings of the Left, RightLeft and Right Menus and
  1562. OptionsOptions Menu menus.
  1563.  
  1564. If you activate the auto save setup  option, MC will always
  1565. save the current settings when exiting.
  1566.  
  1567. There also exist settings which can't be changed from the
  1568. menus. To change these settings you have to edit the setup
  1569. file with your favorite editor. See the section on Special
  1570. SettingsSpecial Settings for more information.
  1571.  
  1572. []
  1573.  
  1574.  
  1575. [Executing operating system commands]
  1576. Executing operating system commands
  1577.  
  1578. You may execute commands by typing them directly in the
  1579. Midnight Commander's input line, or by selecting the
  1580. program you want to execute with the selection bar in one
  1581. of the panels and hitting Enter.
  1582.  
  1583. If you press Enter over a file that is not executable, the
  1584. Midnight Commander checks the extension of the selected
  1585. file against the extensions in the Extensions File.Extension File Edit If a
  1586. match is found then the code associated with that
  1587. extension is executed. A very simple macro expansionMacro Substitution
  1588. takes place before executing the command.
  1589.  
  1590. [The cd internal command]
  1591. The cd internal command
  1592.  
  1593. The cd  command is interpreted by the Midnight Commander,
  1594. it is not passed to the command shell for execution. Thus
  1595. it may not handle all of the nice macro expansion and
  1596. substitution that your shell does, although it does some
  1597. of them:
  1598.  
  1599. Tilde substitution  The (~) will be substituted with your
  1600. home directory, if you append a username after the tilde,
  1601. then it will be substituted with the login directory of
  1602. the the specified user.
  1603.  
  1604. For example, ~guest is the home directory for the user
  1605. guest, while ~/guest is the directory guest in your home
  1606. directory.
  1607.  
  1608. Previous directory  You can jump to the directory you were
  1609. previously by using the special directory name '-' like
  1610. this: cd -
  1611.  
  1612. CDPATH directories  If the directory specified to the cd 
  1613. command is not in the current directory, then The Midnight
  1614. Commander uses the value in the environment variable
  1615. CDPATH  to search for the directory in any of the named
  1616. directories.
  1617.  
  1618. For example you could set your CDPATH  variable to
  1619. ~/src:/usr/src, allowing you to change your directory to
  1620. any of the directories inside the ~/src and /usr/src
  1621. directories, from any place in the file system by using
  1622. it's relative name (for example cd linux could take you to
  1623. /usr/src/linux).
  1624.  
  1625. [Macro Substitution]
  1626. Macro Substitution
  1627.  
  1628.  
  1629. When accessing a user menu, Menu File Edit or executing an extension
  1630. dependent command,Extension File Edit or running a command from the command
  1631. line input, a simple macro substitution takes place.
  1632.  
  1633. The macros are:
  1634.  
  1635. "%f"  The current file name.
  1636.  
  1637. "%d"  The current directory name.
  1638.  
  1639. "%F"  The current file in the unselected panel.
  1640.  
  1641. "%D"  The directory name of the unselected panel.
  1642.  
  1643. "%t"  The currently tagged files.
  1644.  
  1645. "%T"  The tagged files in the unselected panel.
  1646.  
  1647. "%u"  and "%U"  Similar to the %t and %T macros, but in
  1648. addition the files are untagged. You can use this macro
  1649. only once per menu file entry or extension file entry,
  1650. because next time there will be no tagged files.
  1651.  
  1652. "%s"  and "%S"  The selected files: The tagged files if
  1653. there are any. Otherwise the current file.
  1654.  
  1655. "%q"  Dropped files. In all places except in the Drop
  1656. action of the mc.ext file,Extension File Edit this will become a null
  1657. string, in the Drop action it will be replaced with a
  1658. space separated list of files that were dropped on the
  1659. file.
  1660.  
  1661. "%cd"  This is a special macro that is used to change the
  1662. current directory to the directory specified in front of
  1663. it. This is used primarily as an interface to the Virtual
  1664. File System.Virtual File System
  1665.  
  1666. "%view"  This macro is used to invoke the internal viewer.
  1667. This macro can be used alone, or with arguments. If you
  1668. pass any arguments to this macro, they should be enclosed
  1669. in brackets. The arguments are: ascii  to force the viewer
  1670. into ascii mode; hex  to force the viewer into hex mode;
  1671. nroff  to tell the viewer that it should interpret the bold
  1672. and underline sequences of nroff; unformated  to tell the
  1673. viewer to not interpret nroff commands for making the text
  1674. bold or underlined.
  1675.  
  1676. "%%"  The % character
  1677.  
  1678. "%{some text}"  Prompt for the substitution. An input box
  1679. is shown and the text inside the braces is used as a
  1680. prompt. The macro is substituted by the text typed by the
  1681. user. The user can press ESC or F10 to cancel. This macro
  1682. doesn't work on the command line yet.
  1683.  
  1684. [The subshell support]
  1685. The subshell support
  1686.  
  1687. The subshell support is a compile time option, that works
  1688. with the shells: bash, tcsh and zsh.
  1689.  
  1690. When the subshell code is activated the Midnight Commander
  1691. will spawn a concurrent copy of your shell (the one
  1692. defined in the SHELL  variable and if it is not defined,
  1693. then the one in the /etc/passwd file) and run it in a
  1694. pseudo terminal, instead of invoking a new shell each time
  1695. you execute a command, the command will be passed to the
  1696. subshell as if you had typed it. This also allows you to
  1697. change the environment variables, use shell functions and
  1698. define aliases that are valid until you quit the Midnight
  1699. Commander.
  1700.  
  1701. If you are using bash  you can specify startup commands for
  1702. the subshell in your ~/.mc/bashrc file and special
  1703. keyboard maps in the ~/.mc/inputrc file. tcsh   users may
  1704. specify startup commands in the ~/.mc/tcshrc file.
  1705.  
  1706. When the subshell code is used, you can suspend
  1707. applications at any time with the sequence C-o and jump
  1708. back to the Midnight Commander, if you interrupt an
  1709. application, you will not be able to run other external
  1710. commands until you quit the application you interrupted.
  1711.  
  1712. An extra added feature of using the subshell is that the
  1713. prompt displayed by the Midnight Commander is the same
  1714. prompt that you are currently using in your shell.
  1715.  
  1716. The OPTIONS section has more information on how you can
  1717. control the subshell code.
  1718.  
  1719. [Controlling Midnight Commander]
  1720. Controlling Midnight Commander
  1721.  
  1722. The Midnight Commander defines an environment variable
  1723. MC_CONTROL_FILE. The commands executed by MC may give
  1724. instructions to MC by writing to the file specified by
  1725. this variable. This is only available if you compiled your
  1726. copy of the Midnight Commander with the WANT_PARSE option.
  1727.  
  1728. The following instructions are supported.
  1729.  
  1730. clear_tags        Clear all tags.
  1731. tag <filename>        Tag specified file.
  1732. untag <filename>    Untag specified file.
  1733. select <filename>    Move pointer to file.
  1734. change_panel        Switch between panels.
  1735. cd <path>        Change directory.
  1736.  
  1737. If the first letter of the instruction is in lower case it
  1738. operates on the current panel. If the letter is in upper
  1739. case the instruction operates on the other panel. The
  1740. additional letters must be in lower case. Instructions
  1741. must be separated by exactly one space, tab or newline.
  1742. The instructions don't work in the Info, Tree and Quick
  1743. views. The first error causes the rest to be ignored.
  1744.  
  1745. [Chmod]
  1746. Chmod
  1747.  
  1748. The Chmod window is used to change the attribute bits in a
  1749. group of files and directories. It can be invoked with the
  1750. C-x c key combination.
  1751.  
  1752. The Chmod window has two parts - Permissions  and File
  1753.  
  1754. In the File section are displayed the name of the file or
  1755. directory and its permissions in octal form, as well as
  1756. its owner and group.
  1757.  
  1758. In the Permissions section there is a set of check buttons
  1759. which correspond to the file attribute bits. As you change
  1760. the attribute bits, you can see the octal value change in
  1761. the File section.
  1762.  
  1763. To move between the widgets (buttons and check buttons)
  1764. use the arrow keys  or the Tab  key. To change the state of
  1765. the check buttons or to select a button use Space.  You can
  1766. also use the hotkeys on the buttons to quickly activate
  1767. that selection (they are the highlit letters on the
  1768. buttons).
  1769.  
  1770. To set the attribute bits, use the Enter key.
  1771.  
  1772. When working with a group of files or directories, you
  1773. just click on the bits you want to set or clear. Once you
  1774. have selected the bits you want to change, you select one
  1775. of the action buttons (Set marked or Clear marked).
  1776.  
  1777. Finally, to set the attributes exactly to those specified,
  1778. you can use the [Set all]  button, which will act on all
  1779. the tagged files.
  1780.  
  1781. [Marked all]  set only marked attributes to all selected
  1782. files
  1783.  
  1784. [Set marked]  set marked bits in attributes of all selected
  1785. files
  1786.  
  1787. [Clean marked]  clear marked bits in attributes of all
  1788. selected files
  1789.  
  1790. [Set]  set the attributes of one file
  1791.  
  1792. [Cancel]  cancel the Chmod command
  1793.  
  1794. [Chown]
  1795. Chown
  1796.  
  1797. The Chown command is used to change the owner/group of a
  1798. file. The hot key for this command is C-x o.
  1799.  
  1800. [File Operations]
  1801. File Operations
  1802.  
  1803. When you copy, move or delete files the Midnight Commander
  1804. shows the file operations dialog. It shows the files
  1805. currently being operated on and there are at most three
  1806. progress bars. The file bar tells how big part of the
  1807. current file has been copied so far. The count bar tells
  1808. how many of tagged files have been handled so far. The
  1809. bytes bar tells how big part of total size of the tagged
  1810. files has been handled so far. If the verbose option is
  1811. off the file and bytes bars are not shown.
  1812.  
  1813. There are two buttons at the bottom of the dialog.
  1814. Pressing the Skip button will skip the rest of the current
  1815. file. Pressing the Abort button will abort the whole
  1816. operation, the rest of the files are skipped.
  1817.  
  1818. There are three other dialogs which you can run into
  1819. during the file operations.
  1820.  
  1821. The error dialog informs about error conditions and has
  1822. three choices. Normally you select either the Skip button
  1823. to skip the file or the Abort button to abort the
  1824. operation altogether. You can also select the Retry button
  1825. if you fixed the problem from another terminal.
  1826.  
  1827. The replace dialog is shown when you attempt to copy or
  1828. move a file on the top of an existing file. The dialog
  1829. shows the dates and sizes of the both files. Press the Yes
  1830. button to overwrite the file, the No button to skip the
  1831. file, the alL button to overwrite all the files, the nonE
  1832. button to never overwrite and the Update button to
  1833. overwrite if the source file is newer than the target
  1834. file. You can abort the whole operation by pressing the
  1835. Abort button.
  1836.  
  1837. The recursive delete dialog is shown when you try to
  1838. delete a directory which is not empty. Press the Yes
  1839. button to delete the directory recursively, the No button
  1840. to skip the directory, the alL button to delete all the
  1841. directories and the nonE button to skip all the non-empty
  1842. directories. You can abort the whole operation by pressing
  1843. the Abort button. If you selected the Yes or alL button
  1844. you will be asked for a confirmation. Type "yes" only if
  1845. you are really sure you want to do the recursive delete.
  1846.  
  1847. If you have tagged files and perform an operation on them
  1848. only the files on which the operation succeeded are
  1849. untagged. Failed and skipped files are left tagged.
  1850.  
  1851. [Mask Copy/Rename]
  1852. Mask Copy/Rename
  1853.  
  1854. The copy/move operations lets you translate the names of
  1855. files in an easy way. To do it, you have to specify the
  1856. correct source mask and usually in the trailing part of
  1857. the destination specify some wildcards. All the files
  1858. matching the source mask are copied/renamed according to
  1859. the target mask. If there are tagged files, only the
  1860. tagged files matching the source mask are renamed.
  1861.  
  1862. There are other option which you can set:
  1863.  
  1864. Follow links tells whether make the symlinks and hardlinks
  1865. in the source directory (recursively in subdirectories)
  1866. new links in the target directory or whether would you
  1867. like to copy their content.
  1868.  
  1869. Dive into subdirs tells what to do if in the target
  1870. directory exists a directory with the same name as the
  1871. file/directory being copied. The default action is to copy
  1872. it's content into that directory, by enabling this you can
  1873. copy the source directory into that directory. Perhaps an
  1874. example will help:
  1875.  
  1876. You want to copy content of a directory foo to /bla/foo,
  1877. which is an already existing directory. Normally (when
  1878. Dive is not set), mc would copy it exactly into /bla/foo.
  1879. By enabling this option you will copy the content into
  1880. /bla/foo/foo, because the directory already exists.
  1881.  
  1882. Preserve attributes tells whether to preserve the original
  1883. files' permissions, timestamps and if you are root whether
  1884. to preserve the original files' UID and GID. If this
  1885. option is not set the current value of the umask will be
  1886. respected.
  1887.  
  1888. "Use shell patterns on"
  1889.  
  1890. When the shell patterns option is on you can use the '*'
  1891. and '?' wildcards in the source mask. They work like they
  1892. do in the shell. In the target mask only the '*' and
  1893. '\<digit>' wildcards are allowed. The first '*' wildcard
  1894. in the target mask corresponds to the first wildcard group
  1895. in the source mask, the second '*' corresponds to the
  1896. second group and so on. The '\1' wildcard corresponds to
  1897. the first wildcard group in the source mask, the '\2'
  1898. wildcard corresponds to the second group and so on all the
  1899. way up to '\9'. The '\0' wildcard is the whole filename of
  1900. the source file.
  1901.  
  1902. Two examples:
  1903.  
  1904. If the source mask is "*.tar.gz", the destination is
  1905. "/bla/*.tgz" and the file to be copied is "foo.tar.gz",
  1906. the copy will be "foo.tgz" in "/bla".
  1907.  
  1908. Let's suppose you want to swap basename and extension so
  1909. that "file.c" will become "c.file" and so on. The source
  1910. mask for this is "*.*" and the destination is "\2.\1".
  1911.  
  1912. "Use shell patterns off"
  1913.  
  1914. When the shell patterns option is off the MC doesn't do
  1915. automatic grouping anymore. You must use '\(...\)'
  1916. expressions in the source mask to specify meaning for the
  1917. wildcards in the target mask. This is more flexible but
  1918. also requires more typing. Otherwise target masks are
  1919. similar to the situation when the shell patterns option is
  1920. on.
  1921.  
  1922. Two examples:
  1923.  
  1924. If the source mask is "^\(.*\)\.tar\.gz$", the destination
  1925. is "/bla/*.tgz" and the file to be copied is "foo.tar.gz",
  1926. the copy will be "/bla/foo.tgz".
  1927.  
  1928. Let's suppose you want to swap basename and extension so
  1929. that "file.c" will become "c.file" and so on. The source
  1930. mask for this is "^\(.*\)\.\(.*\)$" and the destination is
  1931. "\2.\1".
  1932.  
  1933. "Case Conversions"
  1934.  
  1935. You can also change the case of the filenames. If you use
  1936. '\u' or '\l' in the target mask the next character will be
  1937. converted to uppercase or lowercase correspondingly.
  1938.  
  1939. If you use '\U' or '\L' in the target mask the next
  1940. characters will be converted to uppercase or lowercase
  1941. correspondingly up to the next '\E' or next '\U', '\L' or
  1942. the end of the file name.
  1943.  
  1944. The '\u' and '\l' are stronger than '\U' and '\L'.
  1945.  
  1946. For example, if the source mask is '*' (shell patterns on)
  1947. or '^\(.*\)$' (shell patterns off) and the target mask is
  1948. '\L\u*' the file names will be converted to have initial
  1949. upper case and otherwise lower case.
  1950.  
  1951. You can also use '\' as a quote character. For example,
  1952. '\\' is a backslash and '\*' is an asterisk.
  1953.  
  1954. [Internal File Viewer]
  1955. Internal File Viewer
  1956.  
  1957. The internal file viewer provides two display modes: ASCII
  1958. and hex. To toggle between modes, use the F4 key. If you
  1959. have the GNU gzip program installed, it will be used to
  1960. automatically decompress the files on demand.
  1961.  
  1962. The viewer will try to use the best method provided by
  1963. your system or the file type to display the information.
  1964. The internal file viewer will interpret some string
  1965. sequences to set the bold and underline attributes, thus
  1966. making a pretty display of your files.
  1967.  
  1968. When in hex mode, the search function accepts text in
  1969. quotes as well as hexadecimal constants.
  1970.  
  1971. You can mix quoted text with constants like this: "String"
  1972. 0xFE 0xBB "more text". Text between constants and quoted
  1973. text is just ignored.
  1974.  
  1975. Some internal details about the viewer: On systems that
  1976. provide the mmap(2) system call, the program maps the file
  1977. instead of loading it; if the system does not provide the
  1978. mmap(2) system call or the file matches an action that
  1979. requires a filter, then the viewer will use it's growing
  1980. buffers, thus loading only those parts of the file that
  1981. you actually access (this includes compressed files).
  1982.  
  1983. Here is a listing of the actions associated with each key
  1984. that the Midnight Commander handles in the internal file
  1985. viewer.
  1986.  
  1987. F1  Invoke the builtin hypertext help viewer.
  1988.  
  1989. F2  Toggle the wrap mode.
  1990.  
  1991. F4  Toggle the hex mode.
  1992.  
  1993. F5  Goto line. This will prompt you for a line number and
  1994. will display that line.
  1995.  
  1996. F6, /.   Regular expression search.
  1997.  
  1998. ?,  Reverse regular expression search.
  1999.  
  2000. F7  Normal search / hex mode search.
  2001.  
  2002. C-s.  Start normal search if there was no previous search
  2003. expression else find next match.
  2004.  
  2005. C-r.  Start reverse search if there was no previous search
  2006. expression else find next match.
  2007.  
  2008. n.  Find next match.
  2009.  
  2010. F8  Toggle Raw/Parsed mode: This will show the file as
  2011. found on disk or if a processing filter has been specified
  2012. in the mc.ext file, then the output from the filter.
  2013. Current mode is always the other than written on the
  2014. button label, since on the button is the mode which you
  2015. enter by that key.
  2016.  
  2017. F9  Toggle the format/unformat mode: when format mode is on
  2018. the viewer will interpret some string sequences to show
  2019. bold and underline with different colors. Also, on button
  2020. label is the other mode than current.
  2021.  
  2022. F10, Esc.  Exit the internal file viewer.
  2023.  
  2024. next-page, space, C-v.  Scroll one page forward.
  2025.  
  2026. prev-page, M-v, C-b, backspace.  Scroll one page backward.
  2027.  
  2028. down-key  Scroll one line forward.
  2029.  
  2030. up-key  Scroll one line backward.
  2031.  
  2032. C-l  Refresh the screen.
  2033.  
  2034. !  Spawn a shell in the currently working directory.
  2035.  
  2036. "[n] m"  Set the mark n.
  2037.  
  2038. "[n] r"  Jump to the mark n.
  2039.  
  2040. C-f  Jump to the next file.
  2041.  
  2042. C-b   Jump to the previous file.
  2043.  
  2044. M-r   Toggle the ruler.
  2045.  
  2046. It's possible to instruct the file viewer how to display a
  2047. file, look at the Extension File Edit sectionExtension File Edit[Internal File Editor]
  2048. Internal File Editor
  2049.  
  2050. The internal file editor provides most of the features of
  2051. common full screen editors. It is invoked using F4
  2052. provided the use_internal_edit  option is set in the
  2053. initialization file. It has an extensible file size limit
  2054. of sixteen megabytes and edits binary files flawlessly.
  2055.  
  2056. The features it presently supports are: Block copy, move,
  2057. delete, cut, paste; "key for key undo";   pull-down menus;
  2058. file insertion; macro definition; regular expression
  2059. search and replace (and our own scanf-printf search and
  2060. replace); shift-arrow MSW-MAC text highlighting (for the
  2061. linux console only); insert-overwrite toggle; and an
  2062. option to pipe text blocks through shell commands like
  2063. indent.
  2064.  
  2065. The editor is very easy to use and requires no tutoring.
  2066. To see what keys do what, just consult the appropriate
  2067. pull-down menu. Other keys are: Shift movement keys do
  2068. text highlighting. Ctrl-Ins  copies to the file
  2069. cooledit.clip and   Shift-Ins  pastes from cooledit.clip.
  2070. Shift-Del   cuts to cooledit.clip,   and Ctrl-Del  deletes
  2071. highlighted text. The completion key also does a Return
  2072. with an automatic indent. Mouse highlighting also works,
  2073. and you can override the mouse as usual by holding down
  2074. the shift key while dragging the mouse to let normal
  2075. terminal mouse highlighting work.
  2076.  
  2077. To define a macro, press Ctrl-R  and then type out the key
  2078. strokes you want to be executed. Press Ctrl-R  again when
  2079. finished. You can then assign the macro to any key you
  2080. like by pressing that key. The macro is executed when you
  2081. press Ctrl-A and then the assigned key. The macro is also
  2082. executed if  you press Meta, Ctrl, or Esc and the assigned
  2083. key, provided that the key is not used for any other
  2084. function. Once defined, the macro commands go into the
  2085. file cedit/cooledit.macros  in your home directory. You can
  2086. delete a macro by deleting the appropriate line in this
  2087. file.
  2088.  
  2089. F19 will format C code when it is highlighted. For this  to
  2090. work, make an executable file called cedit/edit.indent.rc
  2091. in your home directory containing the following:
  2092.  
  2093. #!/bin/sh
  2094. /usr/bin/indent -kr -pcs ~/cedit/cooledit.block >& /dev/null
  2095. cat /dev/null > ~/cedit/cooledit.error
  2096.  
  2097. You can use scanf search and replace to search and replace
  2098. a C format string. First take a look at the sscanf  and
  2099. sprintf man pages to see what a format string  is and how
  2100. it works. An example is as follows: Suppose you want to
  2101. replace all occurences of say, an open bracket, three
  2102. comma seperated numbers, and a close bracket, with the
  2103. word apples,   the third number, the word oranges  and then
  2104. the second number, I would fill in the Replace dialog box
  2105. as follows:
  2106.  
  2107.  Enter search string
  2108. (%d,%d,%d)
  2109.  Enter replace string
  2110. apples %d oranges %d
  2111.  Enter replacement argument order
  2112. 3,2
  2113.  
  2114. The last line specifies that the third and then the second
  2115. number are to be used in place of the first and second.
  2116.  
  2117. It is advisable to use this feature with Prompt on replace
  2118. on, because a match is thought to be found whenever the
  2119. number of arguments found matches the number given, which
  2120. is not always a real match. Scanf also treats whitespace
  2121. as being elastic. Note that the scanf format % is very
  2122. useful for scanning strings, and whitespace.
  2123.  
  2124. The editor also displays non-us characters (160+). When
  2125. editing binary files, you should set display bits  to 7
  2126. bits in the options menu to keep the spacing clean.
  2127.  
  2128. See also the file README.edit  in the source tree for some
  2129. more info.
  2130.  
  2131. [Completion]
  2132. Completion
  2133.  
  2134.  
  2135. Let the Midnight Commander type for you.
  2136.  
  2137. Attempt to perform completion on the text before current
  2138. position. MC attempts completion treating the text as
  2139. variable (if the text begins with $  ), username (if the
  2140. text begins with ~  ), hostname (if the text begins with @
  2141. ) or command (if you are on the command line in the
  2142. position where you might type a command, possible
  2143. completions then include shell reserved words and shell
  2144. builtin commands as well) in turn. If none of these
  2145. produces a match, filename completion is attempted.
  2146.  
  2147. Filename, username, variable and hostname completion works
  2148. on all input lines, command completion is command line
  2149. specific. If the completion is ambiguous (there are more
  2150. different possibilities), MC beeps and the following
  2151. action depends on the setting of the show_all_if_ambiguousSpecial
  2152. Settingsvariable in the Initialization file. If it is nonzero, a
  2153. list of all possibilities pops up next to the current
  2154. position and you can select with the arrow keys and Enter
  2155. the correct entry. You can also type the first letters in
  2156. which the possibilities differ to move to a subset of all
  2157. possibilities and complete as much as possible. If you
  2158. press M-Tab  again, only the subset will be shown in the
  2159. listbox, otherwise the first item which matches all the
  2160. previous characters will be highlighted. As soon as there
  2161. is no ambiguity, dialog disappears, but you can hide it by
  2162. canceling keys Esc,  F10  and left and right arrow keys. If
  2163. show_all_if_ambiguousSpecial Settings is set to zero, the dialog pops up
  2164. only if you press M-Tab  for the second time, for the first
  2165. time MC just beeps.
  2166.  
  2167. [Virtual File System]
  2168. Virtual File System
  2169.  
  2170. The Midnight Commander is provided with a code layer to
  2171. access the file system; this code layer is known as the
  2172. virtual file system switch. The virtual file system switch
  2173. allows the Midnight Commander to manipulate files not
  2174. located on the Unix file system.
  2175.  
  2176. Currently the Midnight Commander is packaged with five
  2177. Virtual File Systems (VFS): the local file system, used
  2178. for accessing the regular Unix file system; the ftpfs,
  2179. used to manipulate files on remote systems with the FTP
  2180. protocol; the tarfs, used to manipulate tar and compressed
  2181. tar files; the undelfs, used to recover deleted files on
  2182. ext2 file systems (the default file system for Linux
  2183. systems) and finally the mcfs (Midnight Commander file
  2184. system), a network based file system.
  2185.  
  2186. The VFS switch code will interpret all of the path names
  2187. used and will forward them to the correct file system, the
  2188. formats used for each one of the file systems is described
  2189. later in their own section.
  2190.  
  2191. [FTP File System]
  2192. FTP File System
  2193.  
  2194. The ftpfs allows you to manipulate files on remote
  2195. machines, to actually use it, you may try to use the panel
  2196. command FTP link (accessible from the menubar) or you may
  2197. directly change your current directory to it using the cd
  2198. command to a path name that looks like this:
  2199.  
  2200. ftp://[!][user[:pass]@]machine[:port][remote-dir]
  2201.  
  2202. The, user, port  and remote-dir  elements are optional. If
  2203. you specify the user  element, then the Midnight Commander
  2204. will try to logon on the remote machine as that user,
  2205. otherwise it will use your login name. The optional pass
  2206. element, if present is the password used for the
  2207. connection. This use is not recomented (nor keeping this
  2208. in your hotlist, unless you set the appropiate permissions
  2209. there, and then, it may not be entirely safe anyways).
  2210.  
  2211. Examples:
  2212.  
  2213.     ftp://ftp.nuclecu.unam.mx/linux/local
  2214.     ftp://tsx-11.mit.edu/pub/linux/packages
  2215.     ftp://!behind.firewall.edu/pub
  2216.     ftp://guest@remote-host.com:40/pub
  2217.     ftp://miguel:xxx@server/pub
  2218.  
  2219. To connect to sites behind a firewall, you will need to
  2220. use the prefix ftp://! (ie, with a bang character after
  2221. the double slash) to make the Midnight Commander use a
  2222. proxy host for doing the ftp transfer. You can define the
  2223. proxy host in the Virtual File SystemVirtual FS dialog box.
  2224.  
  2225. Another option is to set the ftpfs_always_use_proxy
  2226. parameter in the initialization file. This will configure
  2227. the program to always use the proxy host. If this variable
  2228. is set, the program will do two things: consult the
  2229. @prefix@/lib/mc.no_proxy file for lines containing host
  2230. names that are local (if the host name starts with a dot,
  2231. it is assumed to be a domain) and to assume that any
  2232. hostnames without dots in their names are directly
  2233. accessible.
  2234.  
  2235. If you are using the ftpfs code with a filtering packet
  2236. router that does not allow you to use the regular mode of
  2237. opening files, you may want to force the program to use
  2238. the passive-open mode. To use this, set the
  2239. ftpfs_use_passive_connections option.
  2240.  
  2241. The Midnight Commander keeps the directory listing in a
  2242. cache. The cache expire time is configurable in the
  2243. Virtual File System Virtual FS dialog box. This has the funny
  2244. behavior that even if you make changes to a directory,
  2245. they will not be reflected in the directory listing until
  2246. you force a cache reload with the C-r key. This is a
  2247. feature (when you think it's a bug, think about
  2248. manipulating files on the other side of the Atlantic with
  2249. ftpfs).
  2250.  
  2251. [Tar File System]
  2252. Tar File System
  2253.  
  2254. The tar file system provides you with read-only access to
  2255. your tar files and compressed tar files by using the chdir
  2256. command. To change your directory to a tar file, you
  2257. change your current directory to the tar file by using the
  2258. following syntax:
  2259.  
  2260. tar:filename.tar[dir-inside-tar]
  2261.  
  2262. The mc.ext file already provides a shortcut for tar files,
  2263. this means that usually you just point to a tar file and
  2264. press return to enter into the tar file, see the Extension
  2265. File Edit Extension File Edit section for details on how this is done.
  2266.  
  2267. Examples:
  2268.  
  2269.     tar:mc-3.0.tar.gz/mc-3.0/vfs
  2270.     tar:/ftp/GCC/gcc-2.7.0.tar
  2271.  
  2272. The latter specifies the full path of the tar archive.
  2273.  
  2274. [Network File System]
  2275. Network File System
  2276.  
  2277. The Midnight Commander file system is a network base file
  2278. system that allows you to manipulate the files in a remote
  2279. machine as if they were local. To use this, the remote
  2280. machine must be running the mcserv(8) server program.
  2281.  
  2282. To connect to a remote machine, you just need to chdir
  2283. into a special directory which name is in the following
  2284. format:
  2285.  
  2286. mc:[user@]machine[:port][remote-dir]
  2287.  
  2288. The, user, port  and remote-dir  elements are optional. If
  2289. you specify the user  element then the Midnight Commander
  2290. will try to logon on the remote machine as that user,
  2291. otherwise it will use your login name.
  2292.  
  2293. The port  element is used when the remote machine running
  2294. on a special port (see the mcserv(8) manual page for more
  2295. information about ports); finally, if the remote-dir
  2296. element is present, your current directory on the remote
  2297. machine will be set to this one.
  2298.  
  2299. Examples:
  2300.  
  2301.     mc:ftp.nuclecu.unam.mx/linux/local
  2302.     mc:joe@foo.edu:11321/private
  2303.  
  2304. [Undelete File System]
  2305. Undelete File System
  2306.  
  2307. On Linux systems, if you asked configure to use the ext2fs
  2308. undelete facilities, you will have the undelete file
  2309. system available. Recovery of deleted files is only
  2310. available on ext2 file systems. The undelete file system
  2311. is just an interface to the ext2fs library to: retrieve
  2312. all of the deleted files names on an ext2fs and provides
  2313. and to extract the selected files into a regular
  2314. partition.
  2315.  
  2316. To use this file system, you have to chdir into the
  2317. special file name formed by the "undel:" prefix and the
  2318. file name where the actual file system resides.
  2319.  
  2320. For example, to recover deleted files on the second
  2321. partition of the first scsi disk on Linux, you would use
  2322. the following path name:
  2323.  
  2324.     undel:/dev/sda2
  2325.  
  2326. It may take a while for the undelfs to load the required
  2327. information before you start browsing files there.
  2328.  
  2329. [Colors]
  2330. Colors
  2331.  
  2332. The Midnight Commander will try to detect if your terminal
  2333. supports color using the terminal database and your
  2334. terminal name. Sometimes it gets confused, so you may
  2335. force color mode or disable color mode using the -c and -b
  2336. flag respectively.
  2337.  
  2338. If the program is compiled with the Slang screen manager
  2339. instead of ncurses, it will also check the variable
  2340. COLORTERM,  if it is set, it has the same effect as the -c
  2341. flag.
  2342.  
  2343. You may specify terminals that always force color mode by
  2344. adding the color_terminals  variable to the Colors section
  2345. of the initialization file. This will prevent the Midnight
  2346. Commander from trying to detect if your terminal supports
  2347. color. Example:
  2348. [Colors]
  2349. color_terminals=linux,xterm
  2350. color_terminals=terminal-name1,terminal-name2...
  2351.  
  2352. The program can be compiled with both ncurses and slang,
  2353. ncurses does not provide a way to force color mode:
  2354. ncurses uses just the information in the terminal
  2355. database.
  2356.  
  2357. The Midnight Commander provides a way to change the
  2358. default colors. Currently the colors are configured using
  2359. the environment variable MC_COLOR_TABLE   or the Colors
  2360. section in the initialization file.
  2361.  
  2362. In the Colors section, the default color map is loaded
  2363. from the base_color   variable. You can specify an
  2364. alternate color map for a terminal by using the terminal
  2365. name as the key in this section. Example:
  2366.  
  2367. [Colors]
  2368. base_color=
  2369. xterm=menu=magenta:marked=,magenta:markselect=,red
  2370.  
  2371. The format for the color definition is:
  2372.  
  2373.   <keyword>=<foregroundcolor>,<backgroundcolor>:<keyword>= ...
  2374.  
  2375. The colors are optional, and the keywords are: normal,
  2376. selected, marked, markselect, errors, input, reverse menu,
  2377. menusel, menuhot, menuhotsel, gauge; the dialog colors
  2378. are: dnormal, dfocus, dhotnormal, dhotfocus; Help colors
  2379. are: helpnormal, helpitalic, helpbold, helplink,
  2380. helpslink; Viewer color is: viewunderline; Special
  2381. highlighting mode: executable, directory, link, device,
  2382. special.
  2383.  
  2384. The dialog boxes use the following colors: dnormal   is
  2385. used for the normal text, dfocus  is the color used for the
  2386. currently selected component, dhotnormal  is the color used
  2387. to differentiate the hotkey color in normal components,
  2388. whereas the dhotfocus  color is used for the highlighted
  2389. color in the currently selected component.
  2390.  
  2391. Menus use the same scheme but uses the menu, menusel,
  2392. menuhot and menuhotsel tags instead.
  2393.  
  2394. Help uses the following colors: helpnormal  is used for
  2395. normal text, helpitalic  is used for text which is
  2396. emphasized in italic in the manual page, helpbold  is used
  2397. for text which is emphasized in bold in the manual page,
  2398. helplink  is used for not selected hyperlinks and helpslink
  2399. is used for selected hyperlink.
  2400.  
  2401. gauge  determines color of filled part of the progress bar
  2402. (gauge), which shows how many percent of files were copied
  2403. etc. in a graphical way.
  2404.  
  2405. For file type highlighting mode directory  specifies the
  2406. color in which directories are shown; executable  for
  2407. executable files; link   is used to represent links; device
  2408. for character and block devices; special  is for special
  2409. files, such as FIFO and IPC sockets; core  is for core
  2410. files (see also the option highlight_mode  at the section
  2411. on Special Settings).Special Settings
  2412.  
  2413. The possible colors are: black, gray, red, brightred,
  2414. green, brightgreen, brown, yellow, blue, brightblue,
  2415. magenta, brightmagenta, cyan, brightcyan, lightgray and
  2416. white.
  2417.  
  2418. [Special Settings]
  2419. Special Settings
  2420.  
  2421. Most of the settings of the Midnight Commander can be
  2422. changed from the menus. However, there are a small number
  2423. of settings which can only be changed by editing the setup
  2424. file.
  2425.  
  2426. These variables may be set in your ~/.mc/ini file:
  2427.  
  2428. clear_before_exec.  By default the Midnight Commander
  2429. clears the screen before executing a command. If you would
  2430. prefer to see the output of the command at the bottom of
  2431. the screen, edit your ~/mc.ini file and change the value
  2432. of the field clear_before_exec to 0.
  2433.  
  2434. confirm_view_dir.  If you press F3 on a directory, normally
  2435. MC enters that directory. If this flag is set to 1, then
  2436. MC will ask for confirmation before changing the directory
  2437. if you have files tagged.
  2438.  
  2439. drop_menus.  If this variable is set, when you press the F9
  2440. key, the pull down menus will be activated, else, you will
  2441. only be presented with the menu title, and you will have
  2442. to select the entry with the arrow keys or the first
  2443. letter and from there select your option in the menu.
  2444.  
  2445. ftpfs_retry_seconds.  This value is the number of seconds
  2446. the Midnight Commander will wait before attempting a
  2447. reconnection to an ftp server that has denied the login.
  2448. If the value is zero, the the program will not retry the
  2449. login.
  2450.  
  2451. ftpfs_use_passive_connections.  This option is by off
  2452. default. This makes the ftpfs code use the passive open
  2453. mode for transfering files. This is used by people that
  2454. are behind a filtering packet router. This option just
  2455. works if you are not using an ftp proxy.
  2456.  
  2457. max_dirt_limit.  Specifies how many screen updates can be
  2458. skipped at most in the internal file viewer. Normally this
  2459. value is not significant, because the code automatically
  2460. adjusts the number of updates to skip according to the
  2461. rate of incoming keypresses. However, on very slow
  2462. machines or terminals with a fast keyboard auto repeat, a
  2463. big value can make screen updates too jumpy. It seems that
  2464. setting max_dirt_limit to 10 causes the best behavior, and
  2465. that is the default value.
  2466.  
  2467. mouse_move_pages.  Controls whenever scrolling with the
  2468. mouse is done by pages or line by line on the panels.
  2469.  
  2470. mouse_move_pages_viewer.  Controls if scrolling with the
  2471. mouse is done by pages or line by line on the internal
  2472. file viewer.
  2473.  
  2474. navigate_with_arrows.  If this setting is turned on, then
  2475. you may use the arrows keys to automatically chdir if the
  2476. current selection is a subdirectory and the shell command
  2477. line is empty. By default, this setting is off.
  2478.  
  2479. nice_rotating_dash  When on, this flag causes the commander
  2480. to show a rotating dash as a work in progress indicator.
  2481.  
  2482. old_esc_mode  By default the Midnight Commander treats the
  2483. ESC key as a key prefix (old_esc_mode=0), if you set this
  2484. option (old_esc_mode=1), then the ESC key will act as a
  2485. prefix key for one second, and if no extra keys have
  2486. arrived, then the ESC key is interpreted as a cancel key
  2487. (ESC ESC).
  2488.  
  2489.  
  2490. only_leading_plus_minus  set special treatment for '+',
  2491. '-', '*' in command line (select, unselect, reverse
  2492. selection) only if command line is empty. No need to quote
  2493. this characters in the middle of the command line. But we
  2494. can not change selection when command line is not empty.
  2495. panel_scroll_pages  If set (the default), panel will scroll
  2496. by half the display when the cursor reaches the end or the
  2497. beginning of the panel, otherwise it will just scroll a
  2498. file at a time.
  2499.  
  2500. preserve_uidgid  If this option is set (the default), when
  2501. logged in as root the default will be to preserve the UID
  2502. and the GID of files. Some users prefer to disable this
  2503. option, so that's why it's configurable.
  2504.  
  2505. show_output_starts_shell  This variable only works if you
  2506. are not using the subshell support. When you use the C-o
  2507. keystroke to go back to the user screen, if this one is
  2508. set, you will get a fresh shell. Otherwise, pressing any
  2509. key will bring you back to the Midnight Commander.
  2510.  
  2511. show_all_if_ambiguous.  By default the Midnight Commander
  2512. pops up all possible completionsCompletion if the completion is
  2513. ambiguous if you press M-Tab  for the second time, for the
  2514. first time it just completes as much as possible and in
  2515. the case of ambiguity beeps. If you want to see all the
  2516. possible completions already after the first M-Tab
  2517. pressing, set this option to 1.
  2518.  
  2519. torben_fj_mode  If this flag is set, then the home and end
  2520. keys will work slightly different on the panels, instead
  2521. of moving the selection to the first and last files in the
  2522. panels, they will act as follows: The home key will: Go up
  2523. to the middle line, if below it; else go to the top line
  2524. unless it is already on the top line, in this case it will
  2525. go to the first file in the panel. The end key has a
  2526. similar behavior: Go down to the middle line, if over it;
  2527. else go to the bottom line unless you already are at the
  2528. bottom line, in such case it will move the selection to
  2529. the last file name in the panel.
  2530.  
  2531. highlight_mode   By default all information on panels
  2532. displayed with the same color. If this variable is set to
  2533. 1, then perm  or mode  tokens in display format get ability
  2534. to show access rights of the user to the shown file.
  2535. Appropriate triplet of reading, writing and execution
  2536. rights highlighted with the yellow ( selected  ) color. In
  2537. addition, if the variable is equal to 2, then all lines
  2538. are displaying by the color according to their type (see
  2539. Colors).Colors Permissions highlighting also works in this mode.
  2540.  
  2541. use_file_to_guess_type  If this variable is on (the
  2542. default) it will spawn the file command to match the file
  2543. types listed on the mc.ext file.Extension File Edit
  2544.  
  2545. xterm_mode  If this variable is on (default is off) when
  2546. you browse the file system on a Tree panel, it will
  2547. automatically reload the other panel with the contents of
  2548. the selected directory.
  2549.  
  2550. [Terminal databases]
  2551. Terminal databases
  2552.  
  2553. The Midnight Commander provides a way to fix your system
  2554. terminal database without requiring root privileges. The
  2555. Midnight Commander searches in the system initialization
  2556. file (the mc.lib file located in the Midnight Commander
  2557. library directory) or in the ~/.mc/ini file for the
  2558. section "terminal:your-terminal-name" and then for the
  2559. section "terminal:general", each line of the section
  2560. contains a key symbol that you want to define, followed by
  2561. an equal sign and the definition for the key. You can use
  2562. the special \E form to represent the escape character and
  2563. the ^x to represent the control-x character.
  2564.  
  2565. The possible key symbols are:
  2566.  
  2567. f0 to f20     Function keys f0-f20
  2568. bs          backspace
  2569. home          home key
  2570. end           end key
  2571. up            up arrow key
  2572. down          down arrow key
  2573. left          left arrow key
  2574. right         right arrow key
  2575. pgdn          page down key
  2576. pgup          page up key
  2577. insert        the insert character
  2578. delete        the delete character
  2579. complete      to do completion
  2580.  
  2581. For example, to define the key insert to be the Escape + [
  2582. + O + p, you set this in the ini file:
  2583.  
  2584. insert=\\E[Op
  2585.  
  2586. The complete  key symbol represents the escape sequences
  2587. used to invoke the completion process, this is invoked
  2588. with M-tab, but you can define other keys to do the same
  2589. work (on those keyboard with tons of nice and unused keys
  2590. everywhere).
  2591.  
  2592. []
  2593.  
  2594.  
  2595. [FILES]
  2596. FILES
  2597.  
  2598. @prefix@/lib/mc.hlp The help file for the program.
  2599.  
  2600. @prefix@/lib/mc/mc.ext The default system-wide extensions
  2601. file.
  2602.  
  2603. ~/.mc/ext User's own extension, view configuration and
  2604. edit configuration file. They override the contents of the
  2605. system wide files if present.
  2606.  
  2607. @prefix@/lib/mc/mc.ini The default system-wide setup for
  2608. the Midnight Commander, used only if the user lacks his
  2609. own ~/.mc/ini file.
  2610.  
  2611. @prefix@/lib/mc/mc.lib Global settings for the Midnight
  2612. Commander. Settings in this file are global to any
  2613. Midnight Commander, it is useful to define site-global
  2614. terminal settings.
  2615.  
  2616. ~/.mc/ini User's own setup. If this file is present then
  2617. the setup is loaded from here instead of the system-wide
  2618. startup file.
  2619.  
  2620. @prefix@/lib/mc/mc.hint This file contains the hints
  2621. (cookies) displayed by the program.
  2622.  
  2623. @prefix@/lib/mc/mc.menu This file contains the default
  2624. system-wide applications menu.
  2625.  
  2626. ~/.mc/menu User's own application menu. If this file is
  2627. present it is used instead of the system-wide applications
  2628. menu.
  2629.  
  2630. ~/.mc/tree The directory list for the directory tree and
  2631. tree view features. Each line is one entry. The lines
  2632. starting with a slash are full directory names. The lines
  2633. starting with a number have that many characters equal to
  2634. the previous directory. If you want you may create this
  2635. file by giving the command "find / -type d -print | sort >
  2636. ~/.mc.tree". Normally there is no sense in doing it
  2637. because the Midnight Commander automatically updates this
  2638. file for you.
  2639.  
  2640. Local user-defined menu. If this file is present it is
  2641. used instead of the home or system-wide applications menu.
  2642.  
  2643. [AVAILABILITY]
  2644. AVAILABILITY
  2645.  
  2646. The latest version of this program can be found at
  2647. ftp.nuclecu.unam.mx in the directory /linux/local and from
  2648. Europe at sunsite.mff.cuni.cz in the directory /GNU/mc and
  2649. at ftp.teuto.de in the directory /lmb/mc.[SEE ALSO]
  2650. SEE ALSO
  2651.  
  2652. ed(1), gpm(1), mcserv(8), terminfo(1), view(1), sh(1),
  2653. bash(1), tcsh(1), zsh(1).
  2654.  
  2655. The Midnight Commander page on the World Wide Web:
  2656.     http://mc.blackdown.org/mc
  2657.  
  2658. [AUTHORS]
  2659. AUTHORS
  2660.  
  2661. Miguel de Icaza (miguel@roxanne.nuclecu.unam.mx), Janne
  2662. Kukonlehto (jtklehto@paju.oulu.fi), Radek Doulik
  2663. (rodo@earn.cvut.cz), Fred Leeflang (fredl@nebula.ow.org),
  2664. Dugan Porter (dugan@b011.eunet.es), Jakub Jelinek
  2665. (jj@sunsite.mff.cuni.cz), Ching Hui
  2666. (mr854307@cs.nthu.edu.tw), Andrej Borsenkow
  2667. (borsenkow.msk@sni.de), Norbert Warmuth (k3190@fh-sw.de),
  2668. Mauricio Plaza (mok@roxanne.nuclecu.unam.mx) and Paul
  2669. Sheer (psheer@icon.co.za) are the developers of this
  2670. package; Alessandro Rubini (rubini@ipvvis.unipv.it) has
  2671. been especially helpful debugging and enhancing the
  2672. program's mouse support, John Davis (davis@space.mit.edu)
  2673. also made his S-Lang library available to us under the GPL
  2674. and answered my questions about it, and the following
  2675. people have contributed code and many bug fixes (in
  2676. alphabetical order):
  2677.  
  2678. Adam Tla/lka (atlka@sunrise.pg.gda.pl), alex@bcs.zp.ua
  2679. (Alex I. Tkachenko), Antonio Palama, DOS port
  2680. (palama@posso.dm.unipi.it), Erwin van Eijk
  2681. (wabbit@corner.iaf.nl), Gerd Knorr
  2682. (kraxel@cs.tu-berlin.de), Jean-Daniel Luiset
  2683. (luiset@cih.hcuge.ch), Jon Stevens
  2684. (root@dolphin.csudh.edu), Juan Francisco Grigera, Win32
  2685. port (j-grigera@usa.net), Juan Jose Ciarlante
  2686. (jjciarla@raiz.uncu.edu.ar), Ilya Rybkin
  2687. (rybkin@rouge.phys.lsu.edu), Marcelo Roccasalva
  2688. (mfroccas@raiz.uncu.edu.ar), Massimo Fontanelli
  2689. (MC8737@mclink.it), Pavel Roskin
  2690. (pavel.roskin@ecsoft.co.uk), Sergey Ya. Korshunoff
  2691. (root@seyko.msk.su), Thomas Pundt
  2692. (pundtt@math.uni-muenster.de), Timur Bakeyev
  2693. (timur@goff.comtat.kazan.su), Tomasz Cholewo
  2694. (tjchol01@mecca.spd.louisville.edu), Torben Fjerdingstad
  2695. (torben.fjerdingstad@uni-c.dk), Vadim Sinolitis
  2696. (vvs@nsrd.npi.msu.su) and Wim Osterholt
  2697. (wim@djo.wtm.tudelft.nl).
  2698.  
  2699. [BUGS]
  2700. BUGS
  2701.  
  2702. See the file TODO in the distribution for information on
  2703. what remains to be done.
  2704.  
  2705. If you want to report a problem with the program, please
  2706. send mail to this address:
  2707. mc-bugs@roxanne.nuclecu.unam.mx.
  2708.  
  2709. Provide a detailed description of the bug, the version of
  2710. the program you are running (mc -V display this
  2711. information), the operating system you are running the
  2712. program on and if the program crashes, we would appreciate
  2713. a stack trace.
  2714.  
  2715. [main]
  2716.  lqwqk     k           k     
  2717.  x x x .   x     .     x     
  2718.  x x x k lqu wqk k lqw tqk n 
  2719.  x x x x x x x x x x x x x x 
  2720.  v   v v mqv v v v mqu v v mj
  2721.      qqqqqqCommander qj 
  2722. 
  2723.  
  2724. Version 
  2725.  
  2726. This is the main help screen for the GNU Midnight Commander . 
  2727.  
  2728. To learn more on how to use the interactive help facility
  2729. just tap enterHow to use help. You may like to go directly to the
  2730. help contentsContents.
  2731.  
  2732. The Midnight Commander is written by its authorsAUTHORS.
  2733.  
  2734. The Midnight Commander comes with ABSOLUTELY NO WARRANTYWarranty.
  2735. This is free software, and you are welcome to redistribute
  2736. it under certain conditionsLicense.[License]
  2737.  
  2738.                 GNU GENERAL PUBLIC LICENSE
  2739.                    Version 2, June 1991
  2740.  
  2741.  Copyright (C) 1989, 1991 Free Software Foundation,
  2742. Inc. 675 Mass Ave, Cambridge, MA 02139, USA.
  2743.  
  2744.  Everyone is permitted to copy and distribute verbatim
  2745. copies of this license document, but changing it is not
  2746. allowed.
  2747.  
  2748.                          Preamble
  2749.  
  2750.   The licenses for most software are designed to take away
  2751. your freedom to share and change it.  By contrast, the GNU
  2752. General Public License is intended to guarantee your
  2753. freedom to share and change free software--to make sure
  2754. the software is free for all its users.  This General
  2755. Public License applies to most of the Free Software
  2756. Foundation's software and to any other program whose
  2757. authors commit to using it.  (Some other Free Software
  2758. Foundation software is covered by the GNU Library General
  2759. Public License instead.)  You can apply it to your
  2760. programs, too.
  2761.  
  2762.   When we speak of free software, we are referring to
  2763. freedom, not price.  Our General Public Licenses are
  2764. designed to make sure that you have the freedom to
  2765. distribute copies of free software (and charge for this
  2766. service if you wish), that you receive source code or can
  2767. get it if you want it, that you can change the software or
  2768. use pieces of it in new free programs; and that you know
  2769. you can do these things.
  2770.  
  2771.   To protect your rights, we need to make restrictions
  2772. that forbid anyone to deny you these rights or to ask you
  2773. to surrender the rights.  These restrictions translate to
  2774. certain responsibilities for you if you distribute copies
  2775. of the software, or if you modify it.
  2776.  
  2777.   For example, if you distribute copies of such a program,
  2778. whether gratis or for a fee, you must give the recipients
  2779. all the rights that you have.  You must make sure that
  2780. they, too, receive or can get the source code.  And you
  2781. must show them these terms so they know their rights.
  2782.  
  2783.   We protect your rights with two steps: (1) copyright the
  2784. software, and (2) offer you this license which gives you
  2785. legal permission to copy, distribute and/or modify the
  2786. software.
  2787.  
  2788.   Also, for each author's protection and ours, we want to
  2789. make certain that everyone understands that there is no
  2790. warranty for this free software.  If the software is
  2791. modified by someone else and passed on, we want its
  2792. recipients to know that what they have is not the
  2793. original, so that any problems introduced by others will
  2794. not reflect on the original authors' reputations.
  2795.  
  2796.   Finally, any free program is threatened constantly by
  2797. software patents.  We wish to avoid the danger that
  2798. redistributors of a free program will individually obtain
  2799. patent licenses, in effect making the program proprietary.
  2800. To prevent this, we have made it clear that any patent
  2801. must be licensed for everyone's free use or not licensed
  2802. at all.
  2803.  
  2804.   The precise terms and conditions for copying,
  2805. distribution and modification follow.
  2806.  
  2807.                 GNU GENERAL PUBLIC LICENSE
  2808.             TERMS AND CONDITIONS FOR COPYING,
  2809.               DISTRIBUTION AND MODIFICATION
  2810.  
  2811.   0. This License applies to any program or other work
  2812. which contains a notice placed by the copyright holder
  2813. saying it may be distributed under the terms of this
  2814. General Public License.  The "Program", below, refers to
  2815. any such program or work, and a "work based on the
  2816. Program" means either the Program or any derivative work
  2817. under copyright law: that is to say, a work containing the
  2818. Program or a portion of it, either verbatim or with
  2819. modifications and/or translated into another language.
  2820. (Hereinafter, translation is included without limitation
  2821. in the term "modification".)  Each licensee is addressed
  2822. as "you".
  2823.  
  2824. Activities other than copying, distribution and
  2825. modification are not covered by this License; they are
  2826. outside its scope.  The act of running the Program is not
  2827. restricted, and the output from the Program is covered
  2828. only if its contents constitute a work based on the
  2829. Program (independent of having been made by running the
  2830. Program).  Whether that is true depends on what the
  2831. Program does.
  2832.  
  2833.   1. You may copy and distribute verbatim copies of the
  2834. Program's source code as you receive it, in any medium,
  2835. provided that you conspicuously and appropriately publish
  2836. on each copy an appropriate copyright notice and
  2837. disclaimer of warranty; keep intact all the notices that
  2838. refer to this License and to the absence of any warranty;
  2839. and give any other recipients of the Program a copy of
  2840. this License along with the Program.
  2841.  
  2842. You may charge a fee for the physical act of transferring
  2843. a copy, and you may at your option offer warranty
  2844. protection in exchange for a fee.
  2845.  
  2846.   2. You may modify your copy or copies of the Program or
  2847. any portion of it, thus forming a work based on the
  2848. Program, and copy and distribute such modifications or
  2849. work under the terms of Section 1 above, provided that you
  2850. also meet all of these conditions:
  2851.  
  2852.     a) You must cause the modified files to carry
  2853. prominent notices stating that you changed the files and
  2854. the date of any change.
  2855.  
  2856.     b) You must cause any work that you distribute or
  2857. publish, that in whole or in part contains or is derived
  2858. from the Program or any part thereof, to be licensed as a
  2859. whole at no charge to all third parties under the terms of
  2860. this License.
  2861.  
  2862.     c) If the modified program normally reads commands
  2863. interactively when run, you must cause it, when started
  2864. running for such interactive use in the most ordinary way,
  2865. to print or display an announcement including an
  2866. appropriate copyright notice and a notice that there is no
  2867. warranty (or else, saying that you provide a warranty) and
  2868. that users may redistribute the program under these
  2869. conditions, and telling the user how to view a copy of
  2870. this License.  (Exception: if the Program itself is
  2871. interactive but does not normally print such an
  2872. announcement, your work based on the Program is not
  2873. required to print an announcement.)
  2874.  
  2875. These requirements apply to the modified work as a whole.
  2876. If identifiable sections of that work are not derived from
  2877. the Program, and can be reasonably considered independent
  2878. and separate works in themselves, then this License, and
  2879. its terms, do not apply to those sections when you
  2880. distribute them as separate works.  But when you
  2881. distribute the same sections as part of a whole which is a
  2882. work based on the Program, the distribution of the whole
  2883. must be on the terms of this License, whose permissions
  2884. for other licensees extend to the entire whole, and thus
  2885. to each and every part regardless of who wrote it.
  2886.  
  2887. Thus, it is not the intent of this section to claim rights
  2888. or contest your rights to work written entirely by you;
  2889. rather, the intent is to exercise the right to control the
  2890. distribution of derivative or collective works based on
  2891. the Program.
  2892.  
  2893. In addition, mere aggregation of another work not based on
  2894. the Program with the Program (or with a work based on the
  2895. Program) on a volume of a storage or distribution medium
  2896. does not bring the other work under the scope of this
  2897. License.
  2898.  
  2899.   3. You may copy and distribute the Program (or a work
  2900. based on it, under Section 2) in object code or executable
  2901. form under the terms of Sections 1 and 2 above provided
  2902. that you also do one of the following:
  2903.  
  2904.     a) Accompany it with the complete corresponding
  2905. machine-readable source code, which must be distributed
  2906. under the terms of Sections 1 and 2 above on a medium
  2907. customarily used for software interchange; or,
  2908.  
  2909.     b) Accompany it with a written offer, valid for at
  2910. least three years, to give any third party, for a charge
  2911. no more than your cost of physically performing source
  2912. distribution, a complete machine-readable copy of the
  2913. corresponding source code, to be distributed under the
  2914. terms of Sections 1 and 2 above on a medium customarily
  2915. used for software interchange; or,
  2916.  
  2917.     c) Accompany it with the information you received as
  2918. to the offer to distribute corresponding source code.
  2919. (This alternative is allowed only for noncommercial
  2920. distribution and only if you received the program in
  2921. object code or executable form with such an offer, in
  2922. accord with Subsection b above.)
  2923.  
  2924. The source code for a work means the preferred form of the
  2925. work for making modifications to it.  For an executable
  2926. work, complete source code means all the source code for
  2927. all modules it contains, plus any associated interface
  2928. definition files, plus the scripts used to control
  2929. compilation and installation of the executable.  However,
  2930. as a special exception, the source code distributed need
  2931. not include anything that is normally distributed (in
  2932. either source or binary form) with the major components
  2933. (compiler, kernel, and so on) of the operating system on
  2934. which the executable runs, unless that component itself
  2935. accompanies the executable.
  2936.  
  2937. If distribution of executable or object code is made by
  2938. offering access to copy from a designated place, then
  2939. offering equivalent access to copy the source code from
  2940. the same place counts as distribution of the source code,
  2941. even though third parties are not compelled to copy the
  2942. source along with the object code.
  2943.  
  2944.   4. You may not copy, modify, sublicense, or distribute
  2945. the Program except as expressly provided under this
  2946. License.  Any attempt otherwise to copy, modify,
  2947. sublicense or distribute the Program is void, and will
  2948. automatically terminate your rights under this License.
  2949. However, parties who have received copies, or rights, from
  2950. you under this License will not have their licenses
  2951. terminated so long as such parties remain in full
  2952. compliance.
  2953.  
  2954.   5. You are not required to accept this License, since
  2955. you have not signed it.  However, nothing else grants you
  2956. permission to modify or distribute the Program or its
  2957. derivative works.  These actions are prohibited by law if
  2958. you do not accept this License.  Therefore, by modifying
  2959. or distributing the Program (or any work based on the
  2960. Program), you indicate your acceptance of this License to
  2961. do so, and all its terms and conditions for copying,
  2962. distributing or modifying the Program or works based on
  2963. it.
  2964.  
  2965.   6. Each time you redistribute the Program (or any work
  2966. based on the Program), the recipient automatically
  2967. receives a license from the original licensor to copy,
  2968. distribute or modify the Program subject to these terms
  2969. and conditions.  You may not impose any further
  2970. restrictions on the recipients' exercise of the rights
  2971. granted herein.  You are not responsible for enforcing
  2972. compliance by third parties to this License.
  2973.  
  2974.   7. If, as a consequence of a court judgment or
  2975. allegation of patent infringement or for any other reason
  2976. (not limited to patent issues), conditions are imposed on
  2977. you (whether by court order, agreement or otherwise) that
  2978. contradict the conditions of this License, they do not
  2979. excuse you from the conditions of this License.  If you
  2980. cannot distribute so as to satisfy simultaneously your
  2981. obligations under this License and any other pertinent
  2982. obligations, then as a consequence you may not distribute
  2983. the Program at all.  For example, if a patent license
  2984. would not permit royalty-free redistribution of the
  2985. Program by all those who receive copies directly or
  2986. indirectly through you, then the only way you could
  2987. satisfy both it and this License would be to refrain
  2988. entirely from distribution of the Program.
  2989.  
  2990. If any portion of this section is held invalid or
  2991. unenforceable under any particular circumstance, the
  2992. balance of the section is intended to apply and the
  2993. section as a whole is intended to apply in other
  2994. circumstances.
  2995.  
  2996. It is not the purpose of this section to induce you to
  2997. infringe any patents or other property right claims or to
  2998. contest validity of any such claims; this section has the
  2999. sole purpose of protecting the integrity of the free
  3000. software distribution system, which is implemented by
  3001. public license practices.  Many people have made generous
  3002. contributions to the wide range of software distributed
  3003. through that system in reliance on consistent application
  3004. of that system; it is up to the author/donor to decide if
  3005. he or she is willing to distribute software through any
  3006. other system and a licensee cannot impose that choice.
  3007.  
  3008. This section is intended to make thoroughly clear what is
  3009. believed to be a consequence of the rest of this License.
  3010.  
  3011.   8. If the distribution and/or use of the Program is
  3012. restricted in certain countries either by patents or by
  3013. copyrighted interfaces, the original copyright holder who
  3014. places the Program under this License may add an explicit
  3015. geographical distribution limitation excluding those
  3016. countries, so that distribution is permitted only in or
  3017. among countries not thus excluded.  In such case, this
  3018. License incorporates the limitation as if written in the
  3019. body of this License.
  3020.  
  3021.   9. The Free Software Foundation may publish revised
  3022. and/or new versions of the General Public License from
  3023. time to time.  Such new versions will be similar in spirit
  3024. to the present version, but may differ in detail to
  3025. address new problems or concerns.
  3026.  
  3027. Each version is given a distinguishing version number.  If
  3028. the Program specifies a version number of this License
  3029. which applies to it and "any later version", you have the
  3030. option of following the terms and conditions either of
  3031. that version or of any later version published by the Free
  3032. Software Foundation.  If the Program does not specify a
  3033. version number of this License, you may choose any version
  3034. ever published by the Free Software Foundation.
  3035.  
  3036.   10. If you wish to incorporate parts of the Program into
  3037. other free programs whose distribution conditions are
  3038. different, write to the author to ask for permission.  For
  3039. software which is copyrighted by the Free Software
  3040. Foundation, write to the Free Software Foundation; we
  3041. sometimes make exceptions for this.  Our decision will be
  3042. guided by the two goals of preserving the free status of
  3043. all derivatives of our free software and of promoting the
  3044. sharing and reuse of software generally.
  3045.  
  3046. [Warranty]
  3047.                        NO WARRANTY
  3048.  
  3049.   11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE,
  3050. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT
  3051. PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED
  3052. IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
  3053. PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,
  3054. EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED
  3055. TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  3056. FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS TO THE
  3057. QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.
  3058. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
  3059. ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  3060.  
  3061.   12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR
  3062. AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY
  3063. OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM
  3064. AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
  3065. INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
  3066. CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY
  3067. TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
  3068. DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED
  3069. BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO
  3070. OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR
  3071. OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
  3072. DAMAGES.
  3073.  
  3074.                END OF TERMS AND CONDITIONS
  3075.  
  3076.       How to Apply These Terms to Your New Programs
  3077.  
  3078.   If you develop a new program, and you want it to be of
  3079. the greatest possible use to the public, the best way to
  3080. achieve this is to make it free software which everyone
  3081. can redistribute and change under these terms.
  3082.  
  3083.   To do so, attach the following notices to the program.
  3084. It is safest to attach them to the start of each source
  3085. file to most effectively convey the exclusion of warranty;
  3086. and each file should have at least the "copyright" line
  3087. and a pointer to where the full notice is found.
  3088.  
  3089. <one line to give the program's name and a brief idea of 
  3090. what it does.>
  3091. Copyright (C) 19yy  <name of author>
  3092.  
  3093.     This program is free software; you can redistribute it
  3094. and/or modify it under the terms of the GNU General Public
  3095. License as published by the Free Software Foundation;
  3096. either version 2 of the License, or (at your option) any
  3097. later version.
  3098.  
  3099.     This program is distributed in the hope that it will
  3100. be useful, but WITHOUT ANY WARRANTY; without even the
  3101. implied warranty of MERCHANTABILITY or FITNESS FOR A
  3102. PARTICULAR PURPOSE.  See the GNU General Public License
  3103. for more details.
  3104.  
  3105.     You should have received a copy of the GNU General
  3106. Public License along with this program; if not, write to
  3107. the Free Software Foundation, Inc., 675 Mass Ave,
  3108. Cambridge, MA 02139, USA.
  3109.  
  3110. Also add information on how to contact you by electronic
  3111. and paper mail.
  3112.  
  3113. If the program is interactive, make it output a short
  3114. notice like this when it starts in an interactive mode:
  3115.  
  3116. Gnomovision version 69, Copyright (C) 19yy name of author
  3117. Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
  3118. type `show w'.  This is free software, and you are welcome
  3119. to redistribute it under certain conditions; type `show c'
  3120. for details.
  3121.  
  3122. The hypothetical commands `show w' and `show c' should
  3123. show the appropriate parts of the General Public License.
  3124. Of course, the commands you use may be called something
  3125. other than `show w' and `show c'; they could even be
  3126. mouse-clicks or menu items--whatever suits your program.
  3127.  
  3128. You should also get your employer (if you work as a
  3129. programmer) or your school, if any, to sign a "copyright
  3130. disclaimer" for the program, if necessary.  Here is a
  3131. sample; alter the names:
  3132.  
  3133.   Yoyodyne, Inc., hereby disclaims all copyright interest
  3134. in the program `Gnomovision' (which makes passes at
  3135. compilers) written by James Hacker.
  3136.  
  3137.   <signature of Ty Coon>, 1 April 1989
  3138.   Ty Coon, President of Vice
  3139.  
  3140. This General Public License does not permit incorporating
  3141. your program into proprietary programs.  If your program
  3142. is a subroutine library, you may consider it more useful
  3143. to permit linking proprietary applications with the
  3144. library.  If this is what you want to do, use the GNU
  3145. Library General Public License instead of this License.
  3146.  
  3147. [QueryBox]
  3148.  
  3149. In the query dialog box you can use the arrow keys or the
  3150. first letter to select an item or click with the mouse on
  3151. the button.
  3152.  
  3153. [How to use help]
  3154.  
  3155. You can use the cursor keys or mouse to navigate in the
  3156. help viewer.
  3157. Press down arrow to move to the next item or scroll down.
  3158. Press up arrow to move to the previous item or scroll up.
  3159. Press right arrow to follow the current link.
  3160. Press left arrow to go back in the history of nodes that
  3161. you have visited.
  3162.  
  3163. If you terminal doesn't support the cursor keys you can
  3164. use the space bar to scroll forward and the 'b' key scroll
  3165. back. Use the TAB key to move to the next item and press
  3166. ENTER to follow the current link. The 'l' (last) key may
  3167. be used to go back in the history of nodes that you have
  3168. visited. Press ESC to exit the help viewer.
  3169.  
  3170. The left mouse button will follow the link or scroll. The
  3171. right mouse button can be used to go back in the history
  3172. of nodes.
  3173.  
  3174. The full key list of the help viewer:
  3175.  
  3176. General movement keysGeneral Movement Keys are accepted.
  3177.  
  3178. tab           Move to the next item.
  3179. M-tab         Move to the previous item. 
  3180. down          Move to the next item or scroll a line down.
  3181. up            Move to the previous item or scroll a line up.
  3182. right, enter  Follow the current link.    
  3183. left, l       Go back in the history of visited nodes.
  3184. F1            Show the help for the help viewer.
  3185. n             Go to the next node.
  3186. p             Go to the previous node.    
  3187. c             Go to the Contents node.    
  3188. F10, esc      Exit the help viewer.
  3189. 
  3190. Local variables:
  3191. fill-column: 58
  3192. end:
  3193.